]> Git Repo - linux.git/commit - include/linux/wait.h
[PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD
authorPeter Zijlstra <[email protected]>
Mon, 30 Oct 2006 06:46:36 +0000 (22:46 -0800)
committerLinus Torvalds <[email protected]>
Mon, 30 Oct 2006 20:08:40 +0000 (12:08 -0800)
commit7259f0d05d595b73ef312a082e628627c6414969
tree6227c5e3cd0c31fa80c7a35113007caaf70bf3b6
parent70812522b847bdb8fabee963191734f5fa3143f3
[PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD

kernel: INFO: trying to register non-static key.
kernel: the code is fine but needs lockdep annotation.
kernel: turning off the locking correctness validator.
kernel:  [<c04051ed>] show_trace_log_lvl+0x58/0x16a
kernel:  [<c04057fa>] show_trace+0xd/0x10
kernel:  [<c0405913>] dump_stack+0x19/0x1b
kernel:  [<c043b1e2>] __lock_acquire+0xf0/0x90d
kernel:  [<c043bf70>] lock_acquire+0x4b/0x6b
kernel:  [<c061472f>] _spin_lock_irqsave+0x22/0x32
kernel:  [<c04363d3>] prepare_to_wait+0x17/0x4b
kernel:  [<f89a24b6>] lpfc_do_work+0xdd/0xcc2 [lpfc]
kernel:  [<c04361b9>] kthread+0xc3/0xf2
kernel:  [<c0402005>] kernel_thread_helper+0x5/0xb

Another case of non-static lockdep keys; duplicate the paradigm set by
DECLARE_COMPLETION_ONSTACK and introduce DECLARE_WAIT_QUEUE_HEAD_ONSTACK.

Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Markus Lidel <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Marcel Holtmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/bluetooth/bluecard_cs.c
drivers/message/i2o/exec-osm.c
drivers/scsi/dpt/dpti_i2o.h
drivers/scsi/imm.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/ppa.c
drivers/usb/net/usbnet.c
include/linux/wait.h
This page took 0.05723 seconds and 4 git commands to generate.