timer: Warn when del_timer_sync() is called in hardirq context
authorYong Zhang <yong.zhang@windriver.com>
Wed, 20 Oct 2010 22:57:33 +0000 (15:57 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 22 Oct 2010 12:46:25 +0000 (14:46 +0200)
commit466bd3030973910118ca601da8072be97a1e2209
tree70194e60d4054d045f35e29ee4fcd2230c2622dc
parent1118e2cd33d47254854e1ba3ba8e32802ff14fdf
timer: Warn when del_timer_sync() is called in hardirq context

Add explict warning when del_timer_sync() is called in hardirq
context.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/timer.c