hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
#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 */