From: Greg Kroah-Hartman Date: Mon, 5 Jan 2009 23:44:13 +0000 (-0800) Subject: Staging: epl: hr timers all run in hard irq context now X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8501d21fd2d4ce5449ea0141db3d8a7766523438;p=linux-beck.git Staging: epl: hr timers all run in hard irq context now 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 Cc: Ronald Sieber Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/epl/TimerHighReskX86.c b/drivers/staging/epl/TimerHighReskX86.c index e1cb8238596c..82eee4702aa6 100644 --- a/drivers/staging/epl/TimerHighReskX86.c +++ b/drivers/staging/epl/TimerHighReskX86.c @@ -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;