diff options
Diffstat (limited to 'include/asm-x86/apic.h')
-rw-r--r-- | include/asm-x86/apic.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index a29807737d3d..4e2c1e517f06 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h | |||
@@ -121,12 +121,17 @@ extern void enable_NMI_through_LVT0(void); | |||
121 | */ | 121 | */ |
122 | #ifdef CONFIG_X86_64 | 122 | #ifdef CONFIG_X86_64 |
123 | extern void early_init_lapic_mapping(void); | 123 | extern void early_init_lapic_mapping(void); |
124 | extern int apic_is_clustered_box(void); | ||
125 | #else | ||
126 | static inline int apic_is_clustered_box(void) | ||
127 | { | ||
128 | return 0; | ||
129 | } | ||
124 | #endif | 130 | #endif |
125 | 131 | ||
126 | extern u8 setup_APIC_eilvt_mce(u8 vector, u8 msg_type, u8 mask); | 132 | extern u8 setup_APIC_eilvt_mce(u8 vector, u8 msg_type, u8 mask); |
127 | extern u8 setup_APIC_eilvt_ibs(u8 vector, u8 msg_type, u8 mask); | 133 | extern u8 setup_APIC_eilvt_ibs(u8 vector, u8 msg_type, u8 mask); |
128 | 134 | ||
129 | extern int apic_is_clustered_box(void); | ||
130 | 135 | ||
131 | #else /* !CONFIG_X86_LOCAL_APIC */ | 136 | #else /* !CONFIG_X86_LOCAL_APIC */ |
132 | static inline void lapic_shutdown(void) { } | 137 | static inline void lapic_shutdown(void) { } |