blob: 8e6aef19f8f02ce8be4edf1cf346ac9b257aaa77 [file] [log] [blame]
Eric W. Biederman7c903472005-07-26 11:29:55 -06001#ifndef _ASM_EMERGENCY_RESTART_H
2#define _ASM_EMERGENCY_RESTART_H
3
Huang, Yingde18c852008-01-30 13:31:19 +01004enum reboot_type {
5 BOOT_TRIPLE = 't',
6 BOOT_KBD = 'k',
Miguel Boton4d022e32008-01-30 13:32:51 +01007#ifdef CONFIG_X86_32
8 BOOT_BIOS = 'b',
9#endif
Huang, Yingde18c852008-01-30 13:31:19 +010010 BOOT_ACPI = 'a',
11 BOOT_EFI = 'e'
12};
13
14extern enum reboot_type reboot_type;
15
Eric W. Biederman4a1421f2005-07-26 11:41:26 -060016extern void machine_emergency_restart(void);
Eric W. Biederman7c903472005-07-26 11:29:55 -060017
18#endif /* _ASM_EMERGENCY_RESTART_H */