aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/emergency-restart.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-27 12:32:29 +0000
committerBen Dooks <ben-linux@fluff.org>2008-10-27 12:32:29 +0000
commitb99053eefce89c5c8500517f5f065c85b57d98ee (patch)
tree2e99059d55e32db39a2ada348c39f71bb473c0c1 /arch/x86/include/asm/emergency-restart.h
parent761e0ee0f0beecee7c2528588b043609b880de58 (diff)
parentf8d56f1771e4867acc461146764b4feeb5245669 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c64xx
Conflicts: arch/arm/mm/Kconfig
Diffstat (limited to 'arch/x86/include/asm/emergency-restart.h')
-rw-r--r--arch/x86/include/asm/emergency-restart.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/include/asm/emergency-restart.h b/arch/x86/include/asm/emergency-restart.h
new file mode 100644
index 00000000000..94826cf8745
--- /dev/null
+++ b/arch/x86/include/asm/emergency-restart.h
@@ -0,0 +1,18 @@
+#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_X86_EMERGENCY_RESTART_H */