aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 45175b81dd5b..0f1cbb042f49 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1571,6 +1571,8 @@ static inline void mwait_play_dead(void)
1571 void *mwait_ptr; 1571 void *mwait_ptr;
1572 int i; 1572 int i;
1573 1573
1574 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
1575 return;
1574 if (!this_cpu_has(X86_FEATURE_MWAIT)) 1576 if (!this_cpu_has(X86_FEATURE_MWAIT))
1575 return; 1577 return;
1576 if (!this_cpu_has(X86_FEATURE_CLFLUSH)) 1578 if (!this_cpu_has(X86_FEATURE_CLFLUSH))