diff options
-rw-r--r-- | arch/x86_64/kernel/apic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c index 20a76f209629..496cd1bd2ae5 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86_64/kernel/apic.c | |||
@@ -265,8 +265,6 @@ void __init sync_Arb_IDs(void) | |||
265 | | APIC_DM_INIT); | 265 | | APIC_DM_INIT); |
266 | } | 266 | } |
267 | 267 | ||
268 | extern void __error_in_apic_c (void); | ||
269 | |||
270 | /* | 268 | /* |
271 | * An initial setup of the virtual wire mode. | 269 | * An initial setup of the virtual wire mode. |
272 | */ | 270 | */ |
@@ -313,8 +311,7 @@ void __cpuinit setup_local_APIC (void) | |||
313 | 311 | ||
314 | value = apic_read(APIC_LVR); | 312 | value = apic_read(APIC_LVR); |
315 | 313 | ||
316 | if ((SPURIOUS_APIC_VECTOR & 0x0f) != 0x0f) | 314 | BUILD_BUG_ON((SPURIOUS_APIC_VECTOR & 0x0f) != 0x0f); |
317 | __error_in_apic_c(); | ||
318 | 315 | ||
319 | /* | 316 | /* |
320 | * Double-check whether this APIC is really registered. | 317 | * Double-check whether this APIC is really registered. |