Staging
v0.8.1
https://github.com/torvalds/linux
Revision a41d7f000447015f3f5fe7223f1d53845268e2e8 authored by Linus Torvalds on 25 May 2007, 22:48:24 UTC, committed by Linus Torvalds on 25 May 2007, 22:48:24 UTC
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
  pata_hpt37x: Further improvements based on the IDE updates and vendor drivers
  pata: Trivia
  [libata] sata_via, pata_via: Add PCI IDs.
  [libata] Fix decoding of 6-byte commands
  libata: sata_sis fixes
  Fix build failure for drivers/ata/pata_scc.c
  [libata] sata_mv: add TODO list
  [libata] sata_promise: fix flags typo
2 parent s d9b08b9 + 960c8a1
Raw File
Tip revision: a41d7f000447015f3f5fe7223f1d53845268e2e8 authored by Linus Torvalds on 25 May 2007, 22:48:24 UTC
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
Tip revision: a41d7f0
reboot.h
#ifndef _ASM_REBOOT_H
#define _ASM_REBOOT_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 *);
	void (*emergency_restart)(void);
};

extern struct machine_ops machine_ops;

void machine_real_restart(unsigned char *code, int length);

#endif	/* _ASM_REBOOT_H */
back to top