summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-02-14 08:05:49 +0100
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-03-08 17:44:25 +0100
commitfd49efb3c75475b65d7541ee40603498807ff110 (patch)
treece02c0a498649ce8f28fc352ea3fe7c1c5c38001 /arch/sh
parentsh/cpu: Mark play_dead() __noreturn (diff)
downloadlinux-fd49efb3c75475b65d7541ee40603498807ff110.tar.xz
linux-fd49efb3c75475b65d7541ee40603498807ff110.zip
sh/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. Link: https://lore.kernel.org/r/3d9661e97828fb464a48d4becf18f12604831903.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index 3418c40f0099..114f0c4abeac 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -4,6 +4,7 @@
*
* Copyright (C) 2002 - 2009 Paul Mundt
*/
+#include <linux/cpu.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/mm.h>