summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sh/include/asm/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sh/include/asm/reboot.h')
-rw-r--r--kernel/arch/sh/include/asm/reboot.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/arch/sh/include/asm/reboot.h b/kernel/arch/sh/include/asm/reboot.h
new file mode 100644
index 000000000..b3da0c63f
--- /dev/null
+++ b/kernel/arch/sh/include/asm/reboot.h
@@ -0,0 +1,21 @@
+#ifndef __ASM_SH_REBOOT_H
+#define __ASM_SH_REBOOT_H
+
+#include <linux/kdebug.h>
+
+struct pt_regs;
+
+struct machine_ops {
+ void (*restart)(char *cmd);
+ void (*halt)(void);
+ void (*power_off)(void);
+ void (*shutdown)(void);
+ void (*crash_shutdown)(struct pt_regs *);
+};
+
+extern struct machine_ops machine_ops;
+
+/* arch/sh/kernel/machine_kexec.c */
+void native_machine_crash_shutdown(struct pt_regs *regs);
+
+#endif /* __ASM_SH_REBOOT_H */