]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-x86/emergency-restart.h
Merge branch 'x86/core' into x86/apic
[karo-tx-linux.git] / include / asm-x86 / emergency-restart.h
index 680c3956334542d75617e6d89b82298f906e250a..190d0d8b71e330e35d1b0da257ab38132f218db3 100644 (file)
@@ -1,6 +1,18 @@
-#ifndef _ASM_EMERGENCY_RESTART_H
-#define _ASM_EMERGENCY_RESTART_H
+#ifndef ASM_X86__EMERGENCY_RESTART_H
+#define ASM_X86__EMERGENCY_RESTART_H
+
+enum reboot_type {
+       BOOT_TRIPLE = 't',
+       BOOT_KBD = 'k',
+#ifdef CONFIG_X86_32
+       BOOT_BIOS = 'b',
+#endif
+       BOOT_ACPI = 'a',
+       BOOT_EFI = 'e'
+};
+
+extern enum reboot_type reboot_type;
 
 extern void machine_emergency_restart(void);
 
-#endif /* _ASM_EMERGENCY_RESTART_H */
+#endif /* ASM_X86__EMERGENCY_RESTART_H */