summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/reboot.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-06-17 08:47:37 +0400
committerH. Peter Anvin <hpa@zytor.com>2012-06-17 21:51:01 +0400
commit650513979a437c32d7a0a84f0ed952a55bbb5583 (patch)
treeb831bcbfdfce6abb31573e67669272f368626b5b /arch/x86/include/asm/reboot.h
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9 (diff)
downloadlinux-650513979a437c32d7a0a84f0ed952a55bbb5583.tar.xz
x86-64, reboot: Allow reboot=bios and reboot-cpu override on x86-64
With the revamped realmode trampoline code, it is trivial to extend support for reboot=bios to x86-64. Furthermore, while we are at it, remove the restriction that only we can only override the reboot CPU on 32 bits. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/n/tip-jopx7y6g6dbcx4tpal8q0jlr@git.kernel.org
Diffstat (limited to 'arch/x86/include/asm/reboot.h')
-rw-r--r--arch/x86/include/asm/reboot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/reboot.h b/arch/x86/include/asm/reboot.h
index 92f297069e87..a82c4f1b4d83 100644
--- a/arch/x86/include/asm/reboot.h
+++ b/arch/x86/include/asm/reboot.h
@@ -18,8 +18,8 @@ extern struct machine_ops machine_ops;
void native_machine_crash_shutdown(struct pt_regs *regs);
void native_machine_shutdown(void);
-void machine_real_restart(unsigned int type);
-/* These must match dispatch_table in reboot_32.S */
+void __noreturn machine_real_restart(unsigned int type);
+/* These must match dispatch in arch/x86/realmore/rm/reboot.S */
#define MRR_BIOS 0
#define MRR_APM 1