Eric W. Biederman | 7c90347 | 2005-07-26 11:29:55 -0600 | [diff] [blame] | 1 | #ifndef _ASM_EMERGENCY_RESTART_H |
| 2 | #define _ASM_EMERGENCY_RESTART_H |
| 3 | |
Huang, Ying | de18c85 | 2008-01-30 13:31:19 +0100 | [diff] [blame] | 4 | enum reboot_type { |
| 5 | BOOT_TRIPLE = 't', |
| 6 | BOOT_KBD = 'k', |
Miguel Boton | 4d022e3 | 2008-01-30 13:32:51 +0100 | [diff] [blame^] | 7 | #ifdef CONFIG_X86_32 |
| 8 | BOOT_BIOS = 'b', |
| 9 | #endif |
Huang, Ying | de18c85 | 2008-01-30 13:31:19 +0100 | [diff] [blame] | 10 | BOOT_ACPI = 'a', |
| 11 | BOOT_EFI = 'e' |
| 12 | }; |
| 13 | |
| 14 | extern enum reboot_type reboot_type; |
| 15 | |
Eric W. Biederman | 4a1421f | 2005-07-26 11:41:26 -0600 | [diff] [blame] | 16 | extern void machine_emergency_restart(void); |
Eric W. Biederman | 7c90347 | 2005-07-26 11:29:55 -0600 | [diff] [blame] | 17 | |
| 18 | #endif /* _ASM_EMERGENCY_RESTART_H */ |