Skip to content

Commit fcb3a81

Browse files
srivatsabhatKAGA-KOKO
authored andcommitted
x86/hotplug: Remove incorrect comment about mwait_play_dead()
The comment that says mwait_play_dead() returns only on failure is a bit misleading because mwait_play_dead() could actually return for valid reasons (such as mwait not being supported by the platform) that do not indicate a failure of the CPU offline operation. So, remove the comment. Suggested-by: Thomas Gleixner <[email protected]> Signed-off-by: Srivatsa S. Bhat (VMware) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6b8d5dd commit fcb3a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/smpboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ void native_play_dead(void)
18331833
play_dead_common();
18341834
tboot_shutdown(TB_SHUTDOWN_WFS);
18351835

1836-
mwait_play_dead(); /* Only returns on failure */
1836+
mwait_play_dead();
18371837
if (cpuidle_play_dead())
18381838
hlt_play_dead();
18391839
}

0 commit comments

Comments
 (0)