xref: /openbmc/linux/arch/sh/include/asm/reboot.h (revision 7effbd18)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_REBOOT_H
3 #define __ASM_SH_REBOOT_H
4 
5 #include <linux/kdebug.h>
6 
7 struct pt_regs;
8 
9 struct machine_ops {
10 	void (*restart)(char *cmd);
11 	void (*halt)(void);
12 	void (*power_off)(void);
13 	void (*shutdown)(void);
14 	void (*crash_shutdown)(struct pt_regs *);
15 };
16 
17 extern struct machine_ops machine_ops;
18 
19 /* arch/sh/kernel/machine_kexec.c */
20 void native_machine_crash_shutdown(struct pt_regs *regs);
21 
22 #endif /* __ASM_SH_REBOOT_H */
23