2005-07-27 01:29:55 +08:00
|
|
|
#ifndef _ASM_EMERGENCY_RESTART_H
|
|
|
|
#define _ASM_EMERGENCY_RESTART_H
|
|
|
|
|
2008-01-30 20:31:19 +08:00
|
|
|
enum reboot_type {
|
|
|
|
BOOT_TRIPLE = 't',
|
|
|
|
BOOT_KBD = 'k',
|
|
|
|
BOOT_ACPI = 'a',
|
|
|
|
BOOT_EFI = 'e'
|
|
|
|
};
|
|
|
|
|
|
|
|
extern enum reboot_type reboot_type;
|
|
|
|
|
2005-07-27 01:41:26 +08:00
|
|
|
extern void machine_emergency_restart(void);
|
2005-07-27 01:29:55 +08:00
|
|
|
|
|
|
|
#endif /* _ASM_EMERGENCY_RESTART_H */
|