diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-20 05:50:51 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:57 +0200 |
commit | 8f09cd20a24c5f13c571bc73ddcd47be0af3b70f (patch) | |
tree | 7b4188221e5ac41d6ec9f773b87a5f8413f530b4 /arch/x86/kernel/irq_32.c | |
parent | x86: print local APIC of APs one by one (diff) | |
download | linux-8f09cd20a24c5f13c571bc73ddcd47be0af3b70f.tar.xz linux-8f09cd20a24c5f13c571bc73ddcd47be0af3b70f.zip |
x86: make HAVE_SPARSE_IRQ support selectable
Ingo said sparse_irq is some intrusive. need to make it selectable
to make it simple, remove irq_desc as parameter in some functions.
(ack, eoi, set_affinity).
may need to make member if irq_chip to take irq_desc, or struct irq later.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irq_32.c')
-rw-r--r-- | arch/x86/kernel/irq_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c index cc929f2f84f1..b2e1082cf5ad 100644 --- a/arch/x86/kernel/irq_32.c +++ b/arch/x86/kernel/irq_32.c @@ -269,7 +269,7 @@ int show_interrupts(struct seq_file *p, void *v) struct irqaction * action; unsigned long flags; unsigned int entries; - struct irq_desc *desc; + struct irq_desc *desc = NULL; int tail = 0; #ifdef CONFIG_HAVE_SPARSE_IRQ |