]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit336f6c322d87806ef93afad6308ac65083a865e5
tree25726735e2a355556850dca27ce0b1413bf0e4f1
parentf3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b
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