mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
x86/smpboot: Remove a stray comment about CPU hotplug
This old comment is irrelavant to the logic of disabling interrupts and could be misleading. Remove it. Now, hlt_play_dead() resembles the code that the comment was initially added for, but, it doesn't make sense anymore because an offlined cpu could also be put into other states such as mwait. Signed-off-by: Sohil Mehta <sohil.mehta@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230727180533.3119660-2-sohil.mehta@intel.com
This commit is contained in:
parent
6eaae19807
commit
52defa4a5e
1 changed files with 1 additions and 3 deletions
|
@ -1614,9 +1614,7 @@ void play_dead_common(void)
|
|||
idle_task_exit();
|
||||
|
||||
cpuhp_ap_report_dead();
|
||||
/*
|
||||
* With physical CPU hotplug, we should halt the cpu
|
||||
*/
|
||||
|
||||
local_irq_disable();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue