summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-28 23:20:32 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-04 17:39:24 +0100
commit35ce64922c8263448e58a2b9e8d15a64e11e9b2d (patch)
tree48f9c9e832c298fa03e74a9d56ee6c944065c89f /kernel/time
parent5f75916ec6ecdc6314b637746f3ad809f2fc7379 (diff)
downloadlinux-35ce64922c8263448e58a2b9e8d15a64e11e9b2d.tar.gz
linux-35ce64922c8263448e58a2b9e8d15a64e11e9b2d.tar.bz2
linux-35ce64922c8263448e58a2b9e8d15a64e11e9b2d.zip
x86/idle: Select idle routine only once
The idle routine selection is done on every CPU bringup operation and has a guard in place which is effective after the first invocation, which is a pointless exercise. Invoke it once on the boot CPU and mark the related functions __init. The guard check has to stay as xen_set_default_idle() runs early. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/87edcu6vaq.ffs@tglx
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions