cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/include/asm/reboot.h

/* 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 */

Overall Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt8498.82%150.00%
Greg Kroah-Hartman11.18%150.00%
Total85100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.