aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-28 04:46:58 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-30 17:15:34 -0400
commit3e8f7e35f3fd17eadef44e4679abb39a3806cf01 (patch)
tree8e8ea55506a28163d6b983ee0dd8bf43bcbf37c5 /include
parented5e233284bc4aff965df7351da8426aa188c8f9 (diff)
x86 VISWS: build fix
the 'reboot_force' flag is a notion that non-PC subarchitectures do not have. also, unify the X86_BIOS_REBOOT option between 32-bit and 64-bit and get rid of a few unnecessary Kconfig and Makefile complications that way. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
index 1e17bcce450e..6c8b41b03f6d 100644
--- a/include/asm-x86/proto.h
+++ b/include/asm-x86/proto.h
@@ -20,7 +20,11 @@ extern void syscall32_cpu_init(void);
20 20
21extern void check_efer(void); 21extern void check_efer(void);
22 22
23#ifdef CONFIG_X86_BIOS_REBOOT
23extern int reboot_force; 24extern int reboot_force;
25#else
26static const int reboot_force = 0;
27#endif
24 28
25long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); 29long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
26 30