diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-06 16:17:39 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-08 15:29:37 +0100 |
commit | 779dd9590b00bd91b7811c24f0df34a9d91bfa0f (patch) | |
tree | 38bba20e69b5b0a318c55743cae04c0c86a23677 /arch/arm/kernel/process.c | |
parent | e26a9e00afc482b971afcaef1db8c9034d4d6d7c (diff) | |
download | op-kernel-dev-779dd9590b00bd91b7811c24f0df34a9d91bfa0f.zip op-kernel-dev-779dd9590b00bd91b7811c24f0df34a9d91bfa0f.tar.gz |
ARM: add missing system_misc.h include to process.c
arm_pm_restart(), arm_pm_idle() and soft_restart() are all declared in
system_misc.h, but this file is not included in process.c. Add this
missing include. Found via sparse:
arch/arm/kernel/process.c:98:6: warning: symbol 'soft_restart' was not declared. Should it be static?
arch/arm/kernel/process.c:127:6: warning: symbol 'arm_pm_restart' was not declared. Should it be static?
arch/arm/kernel/process.c:134:6: warning: symbol 'arm_pm_idle' was not declared. Should it be static?
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 92f7b15..da450e0 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -39,6 +39,7 @@ #include <asm/processor.h> #include <asm/thread_notify.h> #include <asm/stacktrace.h> +#include <asm/system_misc.h> #include <asm/mach/time.h> #include <asm/tls.h> |