]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimer: fixup the HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 25 Jan 2008 20:08:31 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:31 +0000 (21:08 +0100)
commit494d02aa6985b0728fd5fc82f724bccd3b13cd21
treecbbd46eb7b81f5c9d39a93604a206ac775084858
parentd82f0e747794433b3e6d4e789104ceed39e629a9
hrtimer: fixup the HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback

Currently all highres=off timers are run from softirq context, but
HRTIMER_CB_IRQSAFE_NO_SOFTIRQ timers expect to run from irq context.

Fix this up by splitting it similar to the highres=on case.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/hrtimer.h
kernel/hrtimer.c
kernel/timer.c