From: Adrian Bunk Date: Thu, 7 Dec 2006 01:14:11 +0000 (+0100) Subject: [PATCH] i386: Make irq_vector static X-Git-Tag: v2.6.20-rc1~145^2^2~8^2~43 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7e95b593a1aeb6fe1d3904e799d23a45261f2c19;p=linux-2.6-omap-h63xx.git [PATCH] i386: Make irq_vector static irq_vector[] can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Acked-by: Eric W. Biederman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton --- diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index 7bfd6c3ec87..56f571c9fc0 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/kernel/io_apic.c @@ -1241,7 +1241,7 @@ static inline int IO_APIC_irq_trigger(int irq) } /* irq_vectors is indexed by the sum of all RTEs in all I/O APICs. */ -u8 irq_vector[NR_IRQ_VECTORS] __read_mostly = { FIRST_DEVICE_VECTOR , 0 }; +static u8 irq_vector[NR_IRQ_VECTORS] __read_mostly = { FIRST_DEVICE_VECTOR , 0 }; static int __assign_irq_vector(int irq) {