sparseirq: set lock_class for legacy irq when sparse_irq is selected
authorYinghai Lu <yinghai@kernel.org>
Tue, 23 Dec 2008 04:24:09 +0000 (20:24 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 16:51:45 +0000 (17:51 +0100)
commitfa6beb37b0d9bc00f90f11154eeed9502d8b0a37
tree7b8f240a031300d2e2f833848e957840efeb085b
parent13a0c3c269b223f60abfac8a9811d77111a8b4ba
sparseirq: set lock_class for legacy irq when sparse_irq is selected

Impact: add lockdep annotation to legacy IRQ descs

Warnings resulting out of this were not seen in practice, but it's prudent
to initialize the legacy descriptors to the lock class as well, symmetric
to how we do it with other descriptors.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/handle.c