x86: change FIRST_SYSTEM_VECTOR to a variable, fix
authorAlan Mayer <ajm@sgi.com>
Wed, 16 Apr 2008 20:17:20 +0000 (15:17 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:06 +0000 (21:28 +0200)
Fixes the build error introduced by my FIRST_SYSTEM_VECTOR patch

Signed-off-by: Alan Mayer <ajm@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic_32.c
arch/x86/kernel/io_apic_32.c

index 807158e4b5d0d31f008ef1bcfadcaa7f94d112a8..d5767cb19d565c421890273eabe465f7fa51505f 100644 (file)
@@ -71,6 +71,10 @@ int local_apic_timer_disabled;
 int local_apic_timer_c2_ok;
 EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok);
 
+int first_system_vector = 0xfe;
+
+char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
+
 /*
  * Debug level, exported for io_apic.c
  */
index 0ae4a9d00ce8554f60c0c67646a99410aa183931..76769ccb1425f5e17ad97473208de6b4c1322eb6 100644 (file)
@@ -83,10 +83,6 @@ int mp_irq_entries;
 
 static int disable_timer_pin_1 __initdata;
 
-int first_system_vector = 0xfe;
-
-char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
-
 /*
  * Rough estimation of how many shared IRQs there are, can
  * be changed anytime.