Skip to content

Commit

Permalink
Staging: epl: hr timers all run in hard irq context now
Browse files Browse the repository at this point in the history
Because of this, we can't set the mode for the timer, so delete this
code as it causes a build error right now.

Cc: Daniel Krueger <[email protected]>
Cc: Ronald Sieber <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Jan 6, 2009
1 parent 833dfbe commit 8501d21
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/epl/TimerHighReskX86.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,6 @@ tEplKernel PUBLIC EplTimerHighReskAddInstance(void)
hrtimer_init(pTimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);

pTimer->function = EplTimerHighReskCallback;

/*
* We use HRTIMER_CB_SOFTIRQ here.
* HRTIMER_CB_IRQSAFE is critical as the callback function
* would be called with IRQs disabled.
*/
pTimer->cb_mode = HRTIMER_CB_SOFTIRQ;
}

return Ret;
Expand Down

0 comments on commit 8501d21

Please sign in to comment.