]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
x86/Voyager: remove X86_BIOS_REBOOT Kconfig quirk
authorIngo Molnar <mingo@elte.hu>
Tue, 27 Jan 2009 16:17:55 +0000 (17:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 13:17:03 +0000 (14:17 +0100)
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>
arch/x86/Kconfig
arch/x86/include/asm/proto.h
arch/x86/kernel/Makefile

index 1d50c9de4d20fc1ed9c0ce4057da2f67449ecda0..c0d79ab366decfdb7b8931bb13b4e9e9c073e7ac 100644 (file)
@@ -190,11 +190,6 @@ config X86_HT
        depends on SMP
        default y
 
-config X86_BIOS_REBOOT
-       bool
-       depends on !X86_VOYAGER
-       default y
-
 config X86_TRAMPOLINE
        bool
        depends on SMP || (64BIT && ACPI_SLEEP)
@@ -1361,7 +1356,6 @@ source kernel/Kconfig.hz
 
 config KEXEC
        bool "kexec system call"
-       depends on X86_BIOS_REBOOT
        help
          kexec is a system call that implements the ability to shutdown your
          current kernel, and to start another kernel.  It is like a reboot
index d6a22f92ba7797a1f11b77e2b6ac90cd06499e07..49fb3ecf3bb341208a45935203d121ef60eba4d0 100644 (file)
@@ -18,11 +18,7 @@ extern void syscall32_cpu_init(void);
 
 extern void check_efer(void);
 
-#ifdef CONFIG_X86_BIOS_REBOOT
 extern int reboot_force;
-#else
-static const int reboot_force = 0;
-#endif
 
 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
 
index dc05a57a474a544714600fa9095a7ab553b0ee40..24f357e7557a186f750699965f39f8e22dce7140 100644 (file)
@@ -50,7 +50,7 @@ obj-y                         += step.o
 obj-$(CONFIG_STACKTRACE)       += stacktrace.o
 obj-y                          += cpu/
 obj-y                          += acpi/
-obj-$(CONFIG_X86_BIOS_REBOOT)  += reboot.o
+obj-y                          += reboot.o
 obj-$(CONFIG_MCA)              += mca_32.o
 obj-$(CONFIG_X86_MSR)          += msr.o
 obj-$(CONFIG_X86_CPUID)                += cpuid.o