summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_64.c
diff options
context:
space:
mode:
authorThomas Gleixner2008-05-12 15:43:36 +0200
committerIngo Molnar2008-07-08 09:13:09 +0200
commit7223daf5e1a6298e459db84442adc04d68a6a42d (patch)
tree419be50640e541fcf66f05aeca393ae904163fd9 /arch/x86/kernel/io_apic_64.c
parentx86: move pci_routirq declaration to pci.h (diff)
downloadkernel-qcow2-linux-7223daf5e1a6298e459db84442adc04d68a6a42d.tar.gz
kernel-qcow2-linux-7223daf5e1a6298e459db84442adc04d68a6a42d.tar.xz
kernel-qcow2-linux-7223daf5e1a6298e459db84442adc04d68a6a42d.zip
x86: make irq_cfg static
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r--arch/x86/kernel/io_apic_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 9a54b779abd4..bb3033f037c3 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -61,7 +61,7 @@ struct irq_cfg {
};
/* irq_cfg is indexed by the sum of all RTEs in all I/O APICs. */
-struct irq_cfg irq_cfg[NR_IRQS] __read_mostly = {
+static struct irq_cfg irq_cfg[NR_IRQS] __read_mostly = {
[0] = { .domain = CPU_MASK_ALL, .vector = IRQ0_VECTOR, },
[1] = { .domain = CPU_MASK_ALL, .vector = IRQ1_VECTOR, },
[2] = { .domain = CPU_MASK_ALL, .vector = IRQ2_VECTOR, },