Simon Horman
aaee8c7f2a
m68k: kexec: Include <linux/reboot.h>
...
Include reboot.h in machine_kexec.c for declaration of
machine_crash_shutdown and machine_shutdown.
gcc-12 with W=1 reports:
arch/m68k/kernel/machine_kexec.c:26:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes]
26 | void machine_shutdown(void)
| ^~~~~~~~~~~~~~~~
arch/m68k/kernel/machine_kexec.c:30:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes]
30 | void machine_crash_shutdown(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~
No functional changes intended.
Compile tested only.
Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230421-m68k-kexec-include-reboot-v1-1-7552963a0f25@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2023-04-21 09:53:54 +02:00
..
2022-03-31 12:03:46 +09:00
2020-03-25 11:50:48 +01:00
2021-09-24 13:35:07 +02:00
2020-02-04 03:05:26 +00:00
2021-05-10 11:47:00 +02:00
2016-03-07 10:07:17 +10:00
2023-01-30 16:40:15 +01:00
2022-04-11 11:48:01 +02:00
2023-04-21 09:53:54 +02:00
2022-10-02 18:04:05 +09:00
2017-02-12 10:36:52 +01:00
2019-05-30 11:26:32 -07:00
2022-11-24 23:24:23 -05:00
2023-01-30 16:40:15 +01:00
2017-11-02 11:10:55 +01:00
2023-03-06 14:09:42 +01:00
2022-12-05 09:07:21 +10:00
2017-11-06 08:25:21 +10:00
2022-04-22 12:14:05 +02:00
2018-08-31 09:30:42 +02:00
2021-06-29 10:53:51 -07:00
2021-04-06 09:33:20 +02:00
2022-05-25 00:03:58 +10:00
2023-03-06 14:09:42 +01:00
2020-06-09 09:39:13 -07:00
2023-01-13 11:48:15 +01:00
2023-01-13 11:48:15 +01:00
2023-01-13 11:48:15 +01:00
2017-11-02 11:10:55 +01:00