OSDN Git Service

parisc: kexec: include reboot.h
authorSimon Horman <horms@kernel.org>
Tue, 9 May 2023 07:01:50 +0000 (09:01 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 9 May 2023 12:04:56 +0000 (14:04 +0200)
commitcc719a9ce7a455bef132e0211437847bcd89b4ef
treeb4870c7f43c6c342673570806983ef6420d673b7
parentac9a78681b921877518763ba0e89202254349d1b
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: Simon Horman <horms@kernel.org>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/kexec.c