aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/emergency-restart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/emergency-restart.h')
-rw-r--r--include/asm-x86/emergency-restart.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-x86/emergency-restart.h b/include/asm-x86/emergency-restart.h
index 680c39563345..8e6aef19f8f0 100644
--- a/include/asm-x86/emergency-restart.h
+++ b/include/asm-x86/emergency-restart.h
@@ -1,6 +1,18 @@
1#ifndef _ASM_EMERGENCY_RESTART_H 1#ifndef _ASM_EMERGENCY_RESTART_H
2#define _ASM_EMERGENCY_RESTART_H 2#define _ASM_EMERGENCY_RESTART_H
3 3
4enum reboot_type {
5 BOOT_TRIPLE = 't',
6 BOOT_KBD = 'k',
7#ifdef CONFIG_X86_32
8 BOOT_BIOS = 'b',
9#endif
10 BOOT_ACPI = 'a',
11 BOOT_EFI = 'e'
12};
13
14extern enum reboot_type reboot_type;
15
4extern void machine_emergency_restart(void); 16extern void machine_emergency_restart(void);
5 17
6#endif /* _ASM_EMERGENCY_RESTART_H */ 18#endif /* _ASM_EMERGENCY_RESTART_H */