summaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-08-20 16:46:04 -0700
committerIngo Molnar <mingo@elte.hu>2008-08-21 13:34:54 +0200
commitd82f0b0f6f1a0a25afc288fb7135b1601fe6df18 (patch)
tree29991ab508ccfbacec6f6b2a7df714ee9d5c5fb5 /include/linux/hrtimer.h
parent6a55617ed5d1aa62b850de2cf66f5ede2eef4825 (diff)
downloadop-kernel-dev-d82f0b0f6f1a0a25afc288fb7135b1601fe6df18.zip
op-kernel-dev-d82f0b0f6f1a0a25afc288fb7135b1601fe6df18.tar.gz
migrate_timers: add comment, use spinlock_irq()
Add the comment to explain why the double lock in migrate_timers() can't deadlock. Change the code to use spinlock_irq() instead of local_irq_disable() + spin_lock(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/hrtimer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud