cpu/hotplug: Set cpuhp target for boot cpu
authorPhil Auld <pauld@redhat.com>
Thu, 17 Nov 2022 16:23:29 +0000 (11:23 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 2 Dec 2022 11:43:02 +0000 (12:43 +0100)
commitd385febc9a19635d4ef197bfad3e84729002f57c
treea6c218a191cddeab1fe823e15753aabd84f27a6e
parent64ea6e44f85b9b75925ebe1ba0e6e8430cc4e06f
cpu/hotplug: Set cpuhp target for boot cpu

Since the boot cpu does not go through the hotplug process it ends
up with state == CPUHP_ONLINE but target == CPUHP_OFFLINE.
So set the target to match in boot_cpu_hotplug_init().

Signed-off-by: Phil Auld <pauld@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20221117162329.3164999-3-pauld@redhat.com
kernel/cpu.c