diff options
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 2e221f1ce0b2..9848715fbd9e 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -169,12 +169,10 @@ static inline unsigned int read_apic_id(void) | |||
169 | { | 169 | { |
170 | return *(u32 *)(APIC_BASE + APIC_ID); | 170 | return *(u32 *)(APIC_BASE + APIC_ID); |
171 | } | 171 | } |
172 | #else | ||
173 | extern unsigned int read_apic_id(void); | ||
174 | #endif | 172 | #endif |
175 | 173 | ||
176 | 174 | ||
177 | # ifdef APIC_DEFINITION | 175 | # if defined(APIC_DEFINITION) || defined(CONFIG_X86_64) |
178 | extern int hard_smp_processor_id(void); | 176 | extern int hard_smp_processor_id(void); |
179 | # else | 177 | # else |
180 | # include <mach_apicdef.h> | 178 | # include <mach_apicdef.h> |