reboot.h (472B)
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 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 */