diff options
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 7 |
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 | |||
453 | static void mwait_idle(void) | 452 | static void mwait_idle(void) |
454 | { | 453 | { |
455 | if (!current_set_polling_and_test()) { | 454 | if (!current_set_polling_and_test()) { |