Commit 647ad94f authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent 5da690d2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -52,6 +52,13 @@
 */

#define SPURIOUS_APIC_VECTOR		0xff
/*
 * Sanity check
 */
#if ((SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F)
# error SPURIOUS_APIC_VECTOR definition error
#endif

#define ERROR_APIC_VECTOR		0xfe
#define RESCHEDULE_VECTOR		0xfd
#define CALL_FUNCTION_VECTOR		0xfc
+0 −7
Original line number Diff line number Diff line
@@ -49,13 +49,6 @@
#include <asm/mtrr.h>
#include <asm/smp.h>

/*
 * Sanity check
 */
#if ((SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F)
# error SPURIOUS_APIC_VECTOR definition error
#endif

unsigned int num_processors;
unsigned disabled_cpus __cpuinitdata;
/* Processor that is doing the boot up */