Skip to content

Commit fe52063

Browse files
Ben DooksRussell King (Oracle)
authored andcommitted
ARM: 9219/1: fix undeclared soft_restart
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 <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent 3437021 commit fe52063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/kernel/reboot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <asm/cacheflush.h>
1111
#include <asm/idmap.h>
1212
#include <asm/virt.h>
13+
#include <asm/system_misc.h>
1314

1415
#include "reboot.h"
1516

0 commit comments

Comments
 (0)