diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 11:17:55 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 08:17:03 -0500 |
commit | f095df0a0cb35a52605541f619d038339b90d7cc (patch) | |
tree | 88a361c48ef67a4ddb6e7f350f865febae02ebc3 /arch/x86 | |
parent | 23394d1c9346d9c0aabbc1b6fca52a9c0aa1c297 (diff) |
x86/Voyager: remove X86_BIOS_REBOOT Kconfig quirk
Voyager has this Kconfig quirk:
config X86_BIOS_REBOOT
bool
depends on !X86_VOYAGER
default y
Voyager should use the existing machine_ops.emergency_restart reboot
quirk mechanism instead of a build-time quirk.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Kconfig | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/proto.h | 4 | ||||
-rw-r--r-- | arch/x86/kernel/Makefile | 2 |
3 files changed, 1 insertions, 11 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1d50c9de4d20..c0d79ab366de 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -190,11 +190,6 @@ config X86_HT | |||
190 | depends on SMP | 190 | depends on SMP |
191 | default y | 191 | default y |
192 | 192 | ||
193 | config X86_BIOS_REBOOT | ||
194 | bool | ||
195 | depends on !X86_VOYAGER | ||
196 | default y | ||
197 | |||
198 | config X86_TRAMPOLINE | 193 | config X86_TRAMPOLINE |
199 | bool | 194 | bool |
200 | depends on SMP || (64BIT && ACPI_SLEEP) | 195 | depends on SMP || (64BIT && ACPI_SLEEP) |
@@ -1361,7 +1356,6 @@ source kernel/Kconfig.hz | |||
1361 | 1356 | ||
1362 | config KEXEC | 1357 | config KEXEC |
1363 | bool "kexec system call" | 1358 | bool "kexec system call" |
1364 | depends on X86_BIOS_REBOOT | ||
1365 | help | 1359 | help |
1366 | kexec is a system call that implements the ability to shutdown your | 1360 | kexec is a system call that implements the ability to shutdown your |
1367 | current kernel, and to start another kernel. It is like a reboot | 1361 | current kernel, and to start another kernel. It is like a reboot |
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h index d6a22f92ba77..49fb3ecf3bb3 100644 --- a/arch/x86/include/asm/proto.h +++ b/arch/x86/include/asm/proto.h | |||
@@ -18,11 +18,7 @@ extern void syscall32_cpu_init(void); | |||
18 | 18 | ||
19 | extern void check_efer(void); | 19 | extern void check_efer(void); |
20 | 20 | ||
21 | #ifdef CONFIG_X86_BIOS_REBOOT | ||
22 | extern int reboot_force; | 21 | extern int reboot_force; |
23 | #else | ||
24 | static const int reboot_force = 0; | ||
25 | #endif | ||
26 | 22 | ||
27 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); | 23 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); |
28 | 24 | ||
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index dc05a57a474a..24f357e7557a 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -50,7 +50,7 @@ obj-y += step.o | |||
50 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 50 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
51 | obj-y += cpu/ | 51 | obj-y += cpu/ |
52 | obj-y += acpi/ | 52 | obj-y += acpi/ |
53 | obj-$(CONFIG_X86_BIOS_REBOOT) += reboot.o | 53 | obj-y += reboot.o |
54 | obj-$(CONFIG_MCA) += mca_32.o | 54 | obj-$(CONFIG_MCA) += mca_32.o |
55 | obj-$(CONFIG_X86_MSR) += msr.o | 55 | obj-$(CONFIG_X86_MSR) += msr.o |
56 | obj-$(CONFIG_X86_CPUID) += cpuid.o | 56 | obj-$(CONFIG_X86_CPUID) += cpuid.o |