|
@@ -2,7 +2,7 @@
|
|
#ifndef _ASM_X86_ESPFIX_H
|
|
#ifndef _ASM_X86_ESPFIX_H
|
|
#define _ASM_X86_ESPFIX_H
|
|
#define _ASM_X86_ESPFIX_H
|
|
|
|
|
|
-#ifdef CONFIG_X86_64
|
|
|
|
|
|
+#ifdef CONFIG_X86_ESPFIX64
|
|
|
|
|
|
#include <asm/percpu.h>
|
|
#include <asm/percpu.h>
|
|
|
|
|
|
@@ -11,7 +11,8 @@ DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
|
|
|
|
|
|
extern void init_espfix_bsp(void);
|
|
extern void init_espfix_bsp(void);
|
|
extern void init_espfix_ap(int cpu);
|
|
extern void init_espfix_ap(int cpu);
|
|
-
|
|
|
|
-#endif /* CONFIG_X86_64 */
|
|
|
|
|
|
+#else
|
|
|
|
+static inline void init_espfix_ap(int cpu) { }
|
|
|
|
+#endif
|
|
|
|
|
|
#endif /* _ASM_X86_ESPFIX_H */
|
|
#endif /* _ASM_X86_ESPFIX_H */
|