diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:50:36 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:54 +0200 |
commit | efa2559f65167989f1893cb065e3126d4f13ba60 (patch) | |
tree | 5682fd57b093f1514af837820a8210bc512bbeba /arch/x86/kernel/apic_64.c | |
parent | 8ea5371baa82db452a8d93e9977b418d30944e32 (diff) |
x86: order variables in io_apic_xx.c
move first_system_vector to apic_64.c.
also add #ifdef CONFIG_INTR_REMAP to prepare 32 bit to use
same file.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 94ddb69ae15..4d7a188025b 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c @@ -33,6 +33,7 @@ #include <asm/smp.h> #include <asm/mtrr.h> #include <asm/mpspec.h> +#include <asm/desc.h> #include <asm/hpet.h> #include <asm/pgalloc.h> #include <asm/nmi.h> @@ -59,6 +60,10 @@ int x2apic_preenabled; 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 */ |