diff options
-rw-r--r-- | arch/x86/include/asm/irq_vectors.h | 7 | ||||
-rw-r--r-- | arch/x86/kernel/apic.c | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index 393f85ecdd80..2601fd108c7d 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h | |||
@@ -52,6 +52,13 @@ | |||
52 | */ | 52 | */ |
53 | 53 | ||
54 | #define SPURIOUS_APIC_VECTOR 0xff | 54 | #define SPURIOUS_APIC_VECTOR 0xff |
55 | /* | ||
56 | * Sanity check | ||
57 | */ | ||
58 | #if ((SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F) | ||
59 | # error SPURIOUS_APIC_VECTOR definition error | ||
60 | #endif | ||
61 | |||
55 | #define ERROR_APIC_VECTOR 0xfe | 62 | #define ERROR_APIC_VECTOR 0xfe |
56 | #define RESCHEDULE_VECTOR 0xfd | 63 | #define RESCHEDULE_VECTOR 0xfd |
57 | #define CALL_FUNCTION_VECTOR 0xfc | 64 | #define CALL_FUNCTION_VECTOR 0xfc |
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index d6da6dd2f60a..85d8b50d1af7 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -49,13 +49,6 @@ | |||
49 | #include <asm/mtrr.h> | 49 | #include <asm/mtrr.h> |
50 | #include <asm/smp.h> | 50 | #include <asm/smp.h> |
51 | 51 | ||
52 | /* | ||
53 | * Sanity check | ||
54 | */ | ||
55 | #if ((SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F) | ||
56 | # error SPURIOUS_APIC_VECTOR definition error | ||
57 | #endif | ||
58 | |||
59 | unsigned int num_processors; | 52 | unsigned int num_processors; |
60 | unsigned disabled_cpus __cpuinitdata; | 53 | unsigned disabled_cpus __cpuinitdata; |
61 | /* Processor that is doing the boot up */ | 54 | /* Processor that is doing the boot up */ |