]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/sh/include/asm/reboot.h
ASoC: wm8994: mark expected switch fall-throughs
[mirror_ubuntu-bionic-kernel.git] / arch / sh / include / asm / reboot.h
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 */