diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 08:44:31 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-13 11:01:32 -0500 |
commit | 6a5fc8d53d37b53035d610336b1aa24b5c97b5f8 (patch) | |
tree | 7ccba34dbe9cfadd534924f58c2a8e8418816fc5 /kernel/time | |
parent | 105497d1f3573a8f8b7b955a5c668687e317dc77 (diff) |
hrtimer: fixup hrtimer callback changes for preempt-rt
In preempt-rt we can not call the callbacks which take sleeping locks
from the timer interrupt context.
Bring back the softirq split for now, until we fixed the signal
delivery problem for real.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/tick-sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 6d44f87f83ed..e94b6b33123a 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -830,6 +830,7 @@ void tick_setup_sched_timer(void) * Emulate tick processing via per-CPU hrtimers: */ hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); + ts->sched_timer.irqsafe = 1; ts->sched_timer.function = tick_sched_timer; /* Get the next period (per cpu) */ |