Browse Source

x86: change FIRST_SYSTEM_VECTOR to a variable, fix

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>
Alan Mayer 17 years ago
parent
commit
ce17833183
2 changed files with 4 additions and 4 deletions
  1. 4 0
      arch/x86/kernel/apic_32.c
  2. 0 4
      arch/x86/kernel/io_apic_32.c

+ 4 - 0
arch/x86/kernel/apic_32.c

@@ -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
  */

+ 0 - 4
arch/x86/kernel/io_apic_32.c

@@ -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.