reboot.h 472 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SH_REBOOT_H
  3. #define __ASM_SH_REBOOT_H
  4. #include <linux/kdebug.h>
  5. struct pt_regs;
  6. struct machine_ops {
  7. void (*restart)(char *cmd);
  8. void (*halt)(void);
  9. void (*power_off)(void);
  10. void (*shutdown)(void);
  11. void (*crash_shutdown)(struct pt_regs *);
  12. };
  13. extern struct machine_ops machine_ops;
  14. /* arch/sh/kernel/machine_kexec.c */
  15. void native_machine_crash_shutdown(struct pt_regs *regs);
  16. #endif /* __ASM_SH_REBOOT_H */