-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeremy Fitzhardinge
authored and
Andi Kleen
committed
May 2, 2007
1 parent
41515e0
commit 036524d
Showing
4 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 01a2f435564b4baab61328b4018d36464468f57b | ||
refs/heads/master: 07f3331c6bfd27a06dfb0ca9fa4f06dec6606876 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#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 */ |