commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
23 lines
472 B
C
23 lines
472 B
C
/* 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 */
|