aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r--arch/x86/kernel/process.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 6e338e3b1dc0..c648139d68d7 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -445,11 +445,10 @@ static int prefer_mwait_c1_over_halt(const struct cpuinfo_x86 *c)
445} 445}
446 446
447/* 447/*
448 * MONITOR/MWAIT with no hints, used for default default C1 state. 448 * MONITOR/MWAIT with no hints, used for default C1 state. This invokes MWAIT
449 * This invokes MWAIT with interrutps enabled and no flags, 449 * with interrupts enabled and no flags, which is backwards compatible with the
450 * which is backwards compatible with the original MWAIT implementation. 450 * original MWAIT implementation.
451 */ 451 */
452
453static void mwait_idle(void) 452static void mwait_idle(void)
454{ 453{
455 if (!current_set_polling_and_test()) { 454 if (!current_set_polling_and_test()) {