diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index ce13315d48fb..6e1e406038c2 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -50,6 +50,7 @@ | |||
50 | #include <linux/tboot.h> | 50 | #include <linux/tboot.h> |
51 | #include <linux/stackprotector.h> | 51 | #include <linux/stackprotector.h> |
52 | #include <linux/gfp.h> | 52 | #include <linux/gfp.h> |
53 | #include <linux/cpuidle.h> | ||
53 | 54 | ||
54 | #include <asm/acpi.h> | 55 | #include <asm/acpi.h> |
55 | #include <asm/desc.h> | 56 | #include <asm/desc.h> |
@@ -1404,7 +1405,8 @@ void native_play_dead(void) | |||
1404 | tboot_shutdown(TB_SHUTDOWN_WFS); | 1405 | tboot_shutdown(TB_SHUTDOWN_WFS); |
1405 | 1406 | ||
1406 | mwait_play_dead(); /* Only returns on failure */ | 1407 | mwait_play_dead(); /* Only returns on failure */ |
1407 | hlt_play_dead(); | 1408 | if (cpuidle_play_dead()) |
1409 | hlt_play_dead(); | ||
1408 | } | 1410 | } |
1409 | 1411 | ||
1410 | #else /* ... !CONFIG_HOTPLUG_CPU */ | 1412 | #else /* ... !CONFIG_HOTPLUG_CPU */ |