projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3437021
)
ARM: 9219/1: fix undeclared soft_restart
author
Ben Dooks
<ben-linux@fluff.org>
Sun, 24 Jul 2022 22:39:22 +0000
(23:39 +0100)
committer
Russell King (Oracle)
<rmk+kernel@armlinux.org.uk>
Thu, 28 Jul 2022 14:09:17 +0000
(15:09 +0100)
The soft_restart() is declared in <asm/system_misc.h> so
include that to fix the following sparse warning:
arch/arm/kernel/reboot.c:78:6: warning: symbol 'soft_restart' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/reboot.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/reboot.c
b/arch/arm/kernel/reboot.c
index 2cb943422554eddbbf65a260dfdc8c37cbf55034..3f0d5c3dae11b5a6649aa5faf22cd9e20c3466ec 100644
(file)
--- a/
arch/arm/kernel/reboot.c
+++ b/
arch/arm/kernel/reboot.c
@@
-10,6
+10,7
@@
#include <asm/cacheflush.h>
#include <asm/idmap.h>
#include <asm/virt.h>
+#include <asm/system_misc.h>
#include "reboot.h"