aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-30 20:06:50 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-30 22:21:20 -0500
commit647ad94fc0479e33958cb4d0e20e241c0bcf599c (patch)
tree8c154377b804db07ada2a5e8f459f7dbf2c9e10a /arch/x86/kernel/apic.c
parent5da690d29f0de17cc1835dd3eb8f8bd0945521f0 (diff)
x86, apic: clean up spurious vector sanity check
Move the spurious vector sanity check to the place where it's defined - out of a .c file. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r--arch/x86/kernel/apic.c7
1 files changed, 0 insertions, 7 deletions
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
59unsigned int num_processors; 52unsigned int num_processors;
60unsigned disabled_cpus __cpuinitdata; 53unsigned disabled_cpus __cpuinitdata;
61/* Processor that is doing the boot up */ 54/* Processor that is doing the boot up */