diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-12-04 12:57:10 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-10 17:21:42 -0800 |
commit | 430b6ac059399828ca864979ad3685a3511c4984 (patch) | |
tree | fcc93244bbfe23fa64e8621a745b57b2e794f259 /arch/mips/kernel/machine_kexec.c | |
parent | d1f4b2b875e49dbbc9114bf340ee6871a892d014 (diff) | |
download | linux-430b6ac059399828ca864979ad3685a3511c4984.tar.gz linux-430b6ac059399828ca864979ad3685a3511c4984.tar.bz2 linux-430b6ac059399828ca864979ad3685a3511c4984.zip |
mips: kexec: include linux/reboot.h
Two functions are provided for kexec, but the mips implementation is
missing the corresponding #include statment:
arch/mips/kernel/machine_kexec.c:136:1: error: no previous prototype for 'machine_shutdown' [-Werror=missing-prototypes]
arch/mips/kernel/machine_kexec.c:152:1: error: no previous prototype for 'machine_crash_shutdown' [-Werror=missing-prototypes]
Link: https://lkml.kernel.org/r/20231204115710.2247097-21-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Rothwell <sfr@rothwell.id.au>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/mips/kernel/machine_kexec.c')
-rw-r--r-- | arch/mips/kernel/machine_kexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c index 432bfd3e7f22..4e3579bbd620 100644 --- a/arch/mips/kernel/machine_kexec.c +++ b/arch/mips/kernel/machine_kexec.c @@ -8,6 +8,7 @@ #include <linux/mm.h> #include <linux/delay.h> #include <linux/libfdt.h> +#include <linux/reboot.h> #include <asm/cacheflush.h> #include <asm/page.h> |