aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mayer <ajm@sgi.com>2008-04-16 16:17:20 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-12 15:28:06 -0400
commitce17833183bf0a08ce3d174a2088eff0a06f2080 (patch)
tree0e4c391645f7051658763e57d15a3c12f6976f76
parent305b92a2323eeaa4b481f409d54f778dd7e21a46 (diff)
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>
-rw-r--r--arch/x86/kernel/apic_32.c4
-rw-r--r--arch/x86/kernel/io_apic_32.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 807158e4b5d0..d5767cb19d56 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -71,6 +71,10 @@ int local_apic_timer_disabled;
71int local_apic_timer_c2_ok; 71int local_apic_timer_c2_ok;
72EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok); 72EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok);
73 73
74int first_system_vector = 0xfe;
75
76char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
77
74/* 78/*
75 * Debug level, exported for io_apic.c 79 * Debug level, exported for io_apic.c
76 */ 80 */
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index 0ae4a9d00ce8..76769ccb1425 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -83,10 +83,6 @@ int mp_irq_entries;
83 83
84static int disable_timer_pin_1 __initdata; 84static int disable_timer_pin_1 __initdata;
85 85
86int first_system_vector = 0xfe;
87
88char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
89
90/* 86/*
91 * Rough estimation of how many shared IRQs there are, can 87 * Rough estimation of how many shared IRQs there are, can
92 * be changed anytime. 88 * be changed anytime.