Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 899611ee7d373e5eeda08e9a8632684e1ebbbf00 authored by Linus Torvalds on 29 September 2010, 01:01:22 UTC
Linux 2.6.36-rc6
Tip revision: 899611e
reboot.h
#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 */
back to top