diff options
Diffstat (limited to 'include/linux/reboot.h')
| -rw-r--r-- | include/linux/reboot.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 2d4dd23168dd..3b3266ff1a95 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h | |||
| @@ -55,6 +55,22 @@ extern void machine_shutdown(void); | |||
| 55 | struct pt_regs; | 55 | struct pt_regs; |
| 56 | extern void machine_crash_shutdown(struct pt_regs *); | 56 | extern void machine_crash_shutdown(struct pt_regs *); |
| 57 | 57 | ||
| 58 | /* | ||
| 59 | * Architecture independent implemenations of sys_reboot commands. | ||
| 60 | */ | ||
| 61 | |||
| 62 | extern void kernel_restart(char *cmd); | ||
| 63 | extern void kernel_halt(void); | ||
| 64 | extern void kernel_power_off(void); | ||
| 65 | extern void kernel_kexec(void); | ||
| 66 | |||
| 67 | /* | ||
| 68 | * Emergency restart, callable from an interrupt handler. | ||
| 69 | */ | ||
| 70 | |||
| 71 | extern void emergency_restart(void); | ||
| 72 | #include <asm/emergency-restart.h> | ||
| 73 | |||
| 58 | #endif | 74 | #endif |
| 59 | 75 | ||
| 60 | #endif /* _LINUX_REBOOT_H */ | 76 | #endif /* _LINUX_REBOOT_H */ |
