diff options
Diffstat (limited to 'arch/x86/include/asm/percpu.h')
-rw-r--r-- | arch/x86/include/asm/percpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index df644f3e53e6..0ed77cf33f76 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h | |||
@@ -1,6 +1,14 @@ | |||
1 | #ifndef _ASM_X86_PERCPU_H | 1 | #ifndef _ASM_X86_PERCPU_H |
2 | #define _ASM_X86_PERCPU_H | 2 | #define _ASM_X86_PERCPU_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | ||
5 | #ifdef CONFIG_X86_64 | ||
6 | extern void load_pda_offset(int cpu); | ||
7 | #else | ||
8 | static inline void load_pda_offset(int cpu) { } | ||
9 | #endif | ||
10 | #endif | ||
11 | |||
4 | #ifdef CONFIG_X86_64 | 12 | #ifdef CONFIG_X86_64 |
5 | #include <linux/compiler.h> | 13 | #include <linux/compiler.h> |
6 | 14 | ||