[PATCH v2 25/24] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition

Josh Poimboeuf posted 24 patches 2 years, 6 months ago
[PATCH v2 25/24] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition
Posted by Philippe Mathieu-Daudé 2 years, 6 months ago
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>
---
Josh, feel free to include in your v3.
---
 arch/x86/kernel/process.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 40d156a31676..7d27181a2518 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -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>
-- 
2.38.1

[tip: objtool/core] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition
Posted by tip-bot2 for Philippe Mathieu-Daudé 2 years, 6 months ago
The following commit has been merged into the objtool/core branch of tip:

Commit-ID:     b4c108d7daf1039cf19388baff30a94563de3f3e
Gitweb:        https://git.kernel.org/tip/b4c108d7daf1039cf19388baff30a94563de3f3e
Author:        Philippe Mathieu-Daudé <philmd@linaro.org>
AuthorDate:    Tue, 14 Feb 2023 09:38:57 +01:00
Committer:     Josh Poimboeuf <jpoimboe@kernel.org>
CommitterDate: Wed, 08 Mar 2023 08:44:30 -08:00

x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 3e30147..d9ecaa6 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -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>