ARM: add missing system_misc.h include to process.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Apr 2014 15:17:39 +0000 (16:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 Apr 2014 14:29:37 +0000 (15:29 +0100)
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>
arch/arm/kernel/process.c

index 92f7b15dd22121d4aa674fd78cd95cac8924c07f..da450e06c9ae91a0526a02fab4a1ce21a97707fc 100644 (file)
@@ -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>