[tip:,objtool/core] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition

Message ID 167848168668.5837.7959819503933981151.tip-bot2@tip-bot2
State New
Headers
Series [tip:,objtool/core] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition |

Commit Message

tip-bot2 for Thomas Gleixner March 10, 2023, 8:54 p.m. UTC
  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(+)
  

Patch

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>