hrtimer, softirq: Fix hrtimer->softirq trampoline
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 3 Feb 2010 17:08:52 +0000 (18:08 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Feb 2010 17:17:40 +0000 (18:17 +0100)
commitb9c3032277f756e73f6c673419dc414155e04e46
tree1727289fff4ea4fdcd93658d07e20ab53b55af96
parentc80d292f137275a1ed88e6ed515ecb457051f1a4
hrtimer, softirq: Fix hrtimer->softirq trampoline

hrtimers callbacks are always done from hardirq context, either the
jiffy tick interrupt or the hrtimer device interrupt.

[ there is currently one exception that can still call a hrtimer
  callback from softirq, but even in that case this will still
  work correctly. ]

Reported-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Yury Polyanskiy <ypolyans@princeton.edu>
Tested-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: David S. Miller <davem@davemloft.net>
LKML-Reference: <1265120401.24455.306.camel@laptop>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/softirq.c