Skip to content
Snippets Groups Projects
Commit cc719a9c authored by Simon Horman's avatar Simon Horman Committed by Helge Deller
Browse files

parisc: kexec: include 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/parisc/kernel/kexec.c:57:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes]
    57 | void machine_crash_shutdown(struct pt_regs *regs)
       |      ^~~~~~~~~~~~~~~~~~~~~~
 arch/parisc/kernel/kexec.c:61:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes]
    61 | void machine_shutdown(void)
       |      ^~~~~~~~~~~~~~~~

No functional changes intended.
Compile tested only.

Signed-off-by: default avatarSimon Horman <horms@kernel.org>
Acked-by: default avatarBaoquan He <bhe@redhat.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent ac9a7868
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment