Commit ff69e5d9 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Another small x86-64 merge

 - Remove obsolete wrong do_magic prototype
 - Remove the dependency between ACPI_SLEEP and SOFTWARE_SUSPEND
   some people complained about. Works the same as i386 now.
 - Fix another gcc 3.3 warning in reboot.c
 - Default NMI watchdog to LOCAL_APIC because that works on more
   boxes
parent 1a1a20cc
...@@ -16,7 +16,8 @@ obj-$(CONFIG_X86_CPUID) += cpuid.o ...@@ -16,7 +16,8 @@ obj-$(CONFIG_X86_CPUID) += cpuid.o
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o suspend_asm.o obj-$(CONFIG_PM) += suspend.o
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o
obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
static int nmi_active; static int nmi_active;
static int panic_on_timeout; static int panic_on_timeout;
unsigned int nmi_watchdog = NMI_IO_APIC; unsigned int nmi_watchdog = NMI_LOCAL_APIC;
static unsigned int nmi_hz = HZ; static unsigned int nmi_hz = HZ;
unsigned int nmi_perfctr_msr; /* the MSR to reset in NMI handler */ unsigned int nmi_perfctr_msr; /* the MSR to reset in NMI handler */
int nmi_watchdog_disabled; int nmi_watchdog_disabled;
......
...@@ -160,7 +160,7 @@ void machine_restart(char * __unused) ...@@ -160,7 +160,7 @@ void machine_restart(char * __unused)
} }
case BOOT_TRIPLE: case BOOT_TRIPLE:
__asm__ __volatile__("lidt %0": :"m" (no_idt)); __asm__ __volatile__("lidt (%0)": :"r" (&no_idt));
__asm__ __volatile__("int3"); __asm__ __volatile__("int3");
reboot_type = BOOT_KBD; reboot_type = BOOT_KBD;
......
...@@ -69,7 +69,6 @@ config ACPI_SLEEP ...@@ -69,7 +69,6 @@ config ACPI_SLEEP
bool "Sleep States (EXPERIMENTAL)" bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI depends on X86 && ACPI
depends on EXPERIMENTAL && PM depends on EXPERIMENTAL && PM
select SOFTWARE_SUSPEND
default y default y
---help--- ---help---
This option adds support for ACPI suspend states. This option adds support for ACPI suspend states.
......
...@@ -44,7 +44,6 @@ extern unsigned long saved_context_eflags; ...@@ -44,7 +44,6 @@ extern unsigned long saved_context_eflags;
:"r" ((thread)->debugreg##register)) :"r" ((thread)->debugreg##register))
extern void fix_processor_context(void); extern void fix_processor_context(void);
extern int do_magic(int resume);
#ifdef CONFIG_ACPI_SLEEP #ifdef CONFIG_ACPI_SLEEP
extern unsigned long saved_eip; extern unsigned long saved_eip;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment