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