aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:50:51 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:57 -0400
commit8f09cd20a24c5f13c571bc73ddcd47be0af3b70f (patch)
tree7b4188221e5ac41d6ec9f773b87a5f8413f530b4 /arch/x86/kernel/irq_64.c
parentffd5aae7817fba22c5c3e304a31c44fa0a4e9a97 (diff)
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_64.c')
-rw-r--r--arch/x86/kernel/irq_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index 348a11168c2..c2fca89a3f7 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -74,7 +74,7 @@ int show_interrupts(struct seq_file *p, void *v)
74 struct irqaction * action; 74 struct irqaction * action;
75 unsigned long flags; 75 unsigned long flags;
76 unsigned int entries; 76 unsigned int entries;
77 struct irq_desc *desc; 77 struct irq_desc *desc = NULL;
78 int tail = 0; 78 int tail = 0;
79 79
80#ifdef CONFIG_HAVE_SPARSE_IRQ 80#ifdef CONFIG_HAVE_SPARSE_IRQ