x86: io-apic - declare irq_cfg_lock for SPARSE_IRQ only
commitac54a6c9371bacb86bee1db23f7d82e8685c7e17
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 4 Sep 2008 18:37:50 +0000 (4 22:37 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:06 +0000 (16 16:53 +0200)
tree9b09ad0ffb05eca31630ef7c0f88ad3dcc60972f
parent676f4a920be27160747439fe71026aa15ec78e5a
x86: io-apic - declare irq_cfg_lock for SPARSE_IRQ only

We use irq_cfg_lock lock in SPARSE_IRQ only context so
move it under #ifdef and compiler will be happy.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c