x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 14 Feb 2023 08:38:57 +0000 (09:38 +0100)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 8 Mar 2023 16:44:30 +0000 (08:44 -0800)
Include <linux/cpu.h> to make sure arch_cpu_idle_dead() matches its
prototype going forward.

Inspired-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20230214083857.50163-1-philmd@linaro.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
arch/x86/kernel/process.c

index 3e30147a537e7392d0deced0da1dc3969dcf5f51..d9ecaa618430c8734a984b7585ff9deeed28f7b0 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
+#include <linux/cpu.h>
 #include <linux/prctl.h>
 #include <linux/slab.h>
 #include <linux/sched.h>