[PATCH] arm: add missing include <asm/system_misc.h>

From: Philippe Mazenauer
Date: Tue May 21 2019 - 10:29:56 EST


Include corresponding header file <asm/system_misc.h> for function
soft_restart().

../arch/arm/kernel/reboot.c:82:6: warning: no previous prototype for âsoft_restartâ [-Wmissing-prototypes]
void soft_restart(unsigned long addr)
^~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@xxxxxxxxxx>
---
arch/arm/kernel/reboot.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c
index 3b2aa9a9fe26..8aca61faca37 100644
--- a/arch/arm/kernel/reboot.c
+++ b/arch/arm/kernel/reboot.c
@@ -10,6 +10,7 @@
#include <linux/delay.h>
#include <linux/reboot.h>

+#include <asm/system_misc.h>
#include <asm/cacheflush.h>
#include <asm/idmap.h>
#include <asm/virt.h>
--
2.17.1