reboot.h 433 B

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