diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:54 -0400 |
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 94ddb69ae15e..4d7a188025b3 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/smp.h> | 33 | #include <asm/smp.h> |
34 | #include <asm/mtrr.h> | 34 | #include <asm/mtrr.h> |
35 | #include <asm/mpspec.h> | 35 | #include <asm/mpspec.h> |
36 | #include <asm/desc.h> | ||
36 | #include <asm/hpet.h> | 37 | #include <asm/hpet.h> |
37 | #include <asm/pgalloc.h> | 38 | #include <asm/pgalloc.h> |
38 | #include <asm/nmi.h> | 39 | #include <asm/nmi.h> |
@@ -59,6 +60,10 @@ int x2apic_preenabled; | |||
59 | int local_apic_timer_c2_ok; | 60 | int local_apic_timer_c2_ok; |
60 | EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok); | 61 | EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok); |
61 | 62 | ||
63 | int first_system_vector = 0xfe; | ||
64 | |||
65 | char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE}; | ||
66 | |||
62 | /* | 67 | /* |
63 | * Debug level, exported for io_apic.c | 68 | * Debug level, exported for io_apic.c |
64 | */ | 69 | */ |