]> err.no Git - linux-2.6/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)
commitd3d74453c34f8fd87674a8cf5b8a327c68f22e99
treecbbd46eb7b81f5c9d39a93604a206ac775084858
parent2d44ae4d7135b9aee26439b3523b43473381bc5f
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