]> git.dujemihanovic.xyz Git - linux.git/commit
smp: Mark smp_prepare_boot_cpu() __init
authorBibo Mao <maobibo@loongson.cn>
Sat, 7 Sep 2024 08:27:20 +0000 (16:27 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 8 Sep 2024 14:01:10 +0000 (16:01 +0200)
commit1d07085402d122f223bda3f8b72bea37a46ee0c9
tree0231e9896dbefecf9fffd260132aaa30dd2b6873
parent8db70faeab9005cbab36e05ba94383075b5cb5db
smp: Mark smp_prepare_boot_cpu() __init

smp_prepare_boot_cpu() is only called during boot, hence mark it as
__init.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/all/20240907082720.452148-1-maobibo@loongson.cn
arch/loongarch/kernel/smp.c
arch/mips/kernel/smp.c
arch/powerpc/kernel/smp.c
include/linux/smp.h