Message ID | 20220721211729.451731-4-ben-linux@fluff.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] arm: add definition of arch_irq_work_raise() | expand |
diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 2cb943422554..3f0d5c3dae11 100644 --- 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"
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> --- arch/arm/kernel/reboot.c | 1 + 1 file changed, 1 insertion(+)