summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-06 16:17:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-04-08 15:29:37 +0100
commit779dd9590b00bd91b7811c24f0df34a9d91bfa0f (patch)
tree38bba20e69b5b0a318c55743cae04c0c86a23677 /arch/arm
parente26a9e00afc482b971afcaef1db8c9034d4d6d7c (diff)
downloadblackbird-op-linux-779dd9590b00bd91b7811c24f0df34a9d91bfa0f.tar.gz
blackbird-op-linux-779dd9590b00bd91b7811c24f0df34a9d91bfa0f.zip
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')
-rw-r--r--arch/arm/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 92f7b15dd221..da450e06c9ae 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>
OpenPOWER on IntegriCloud