diff options
| -rw-r--r-- | arch/x86/kernel/cpu/amd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 1bcb489e07e7..fb6a64bd765f 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
| @@ -82,12 +82,14 @@ static inline int wrmsrl_amd_safe(unsigned msr, unsigned long long val) | |||
| 82 | * performance at the same time.. | 82 | * performance at the same time.. |
| 83 | */ | 83 | */ |
| 84 | 84 | ||
| 85 | #ifdef CONFIG_X86_32 | ||
| 85 | extern __visible void vide(void); | 86 | extern __visible void vide(void); |
| 86 | __asm__(".text\n" | 87 | __asm__(".text\n" |
| 87 | ".globl vide\n" | 88 | ".globl vide\n" |
| 88 | ".type vide, @function\n" | 89 | ".type vide, @function\n" |
| 89 | ".align 4\n" | 90 | ".align 4\n" |
| 90 | "vide: ret\n"); | 91 | "vide: ret\n"); |
| 92 | #endif | ||
| 91 | 93 | ||
| 92 | static void init_amd_k5(struct cpuinfo_x86 *c) | 94 | static void init_amd_k5(struct cpuinfo_x86 *c) |
| 93 | { | 95 | { |
