]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/sh/include/asm/reboot.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / sh / include / asm / reboot.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
fbb82b03
PM
2#ifndef __ASM_SH_REBOOT_H
3#define __ASM_SH_REBOOT_H
4
5#include <linux/kdebug.h>
6
7struct pt_regs;
8
9struct 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
17extern struct machine_ops machine_ops;
18
19/* arch/sh/kernel/machine_kexec.c */
20void native_machine_crash_shutdown(struct pt_regs *regs);
21
22#endif /* __ASM_SH_REBOOT_H */