diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-05 18:44:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 16:52:40 -0500 |
commit | 8501d21fd2d4ce5449ea0141db3d8a7766523438 (patch) | |
tree | 614407b73d190285580d7326b2d43580143f114d | |
parent | 833dfbe746f85898dcbcf421c1177c3fd5773ff2 (diff) |
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 <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/epl/TimerHighReskX86.c | 7 |
1 files changed, 0 insertions, 7 deletions
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) | |||
225 | hrtimer_init(pTimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); | 225 | hrtimer_init(pTimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); |
226 | 226 | ||
227 | pTimer->function = EplTimerHighReskCallback; | 227 | pTimer->function = EplTimerHighReskCallback; |
228 | |||
229 | /* | ||
230 | * We use HRTIMER_CB_SOFTIRQ here. | ||
231 | * HRTIMER_CB_IRQSAFE is critical as the callback function | ||
232 | * would be called with IRQs disabled. | ||
233 | */ | ||
234 | pTimer->cb_mode = HRTIMER_CB_SOFTIRQ; | ||
235 | } | 228 | } |
236 | 229 | ||
237 | return Ret; | 230 | return Ret; |