]> git.baikalelectronics.ru Git - kernel.git/commit
debugobjects: add and use INIT_WORK_ON_STACK
authorThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2009 08:50:44 +0000 (09:50 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2009 09:02:07 +0000 (10:02 +0100)
commit91f9f57215077fd7787373e4562ceae44931973f
tree25726735e2a355556850dca27ce0b1413bf0e4f1
parent2e1dc5264622ab3af52fd4a25c9eacf812e23eb4
debugobjects: add and use INIT_WORK_ON_STACK

Impact: Fix debugobjects warning

debugobject enabled kernels spit out a warning in hpet code due to a
workqueue which is initialized on stack.

Add INIT_WORK_ON_STACK() which calls init_timer_on_stack() and use it
in hpet.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/hpet.c
include/linux/workqueue.h