diff options
-rw-r--r-- | arch/x86/include/asm/apic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index eaff4790ed96..aa5b2eec3602 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -417,7 +417,12 @@ extern struct apic *apic; | |||
417 | __aligned(sizeof(struct apic *)) \ | 417 | __aligned(sizeof(struct apic *)) \ |
418 | __section(.apicdrivers) = { &sym1, &sym2 } | 418 | __section(.apicdrivers) = { &sym1, &sym2 } |
419 | 419 | ||
420 | #ifdef CONFIG_X86_LOCAL_APIC | ||
420 | extern struct apic *__apicdrivers[], *__apicdrivers_end[]; | 421 | extern struct apic *__apicdrivers[], *__apicdrivers_end[]; |
422 | #else | ||
423 | #define __apicdrivers ((struct apic **)NULL) | ||
424 | #define __apicdrivers_end ((struct apic **)NULL) | ||
425 | #endif | ||
421 | 426 | ||
422 | /* | 427 | /* |
423 | * APIC functionality to boot other CPUs - only used on SMP: | 428 | * APIC functionality to boot other CPUs - only used on SMP: |