diff options
Diffstat (limited to 'arch/x86/kernel/reboot.c')
-rw-r--r-- | arch/x86/kernel/reboot.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 2b46eb41643b..2aef36d8aca2 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <asm/reboot.h> | 14 | #include <asm/reboot.h> |
15 | #include <asm/pci_x86.h> | 15 | #include <asm/pci_x86.h> |
16 | #include <asm/virtext.h> | 16 | #include <asm/virtext.h> |
17 | #include <asm/cpu.h> | ||
17 | 18 | ||
18 | #ifdef CONFIG_X86_32 | 19 | #ifdef CONFIG_X86_32 |
19 | # include <linux/dmi.h> | 20 | # include <linux/dmi.h> |
@@ -23,8 +24,6 @@ | |||
23 | # include <asm/iommu.h> | 24 | # include <asm/iommu.h> |
24 | #endif | 25 | #endif |
25 | 26 | ||
26 | #include <mach_ipi.h> | ||
27 | |||
28 | /* | 27 | /* |
29 | * Power off function, if any | 28 | * Power off function, if any |
30 | */ | 29 | */ |
@@ -217,6 +216,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = { | |||
217 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"), | 216 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"), |
218 | }, | 217 | }, |
219 | }, | 218 | }, |
219 | { /* Handle problems with rebooting on Dell XPS710 */ | ||
220 | .callback = set_bios_reboot, | ||
221 | .ident = "Dell XPS710", | ||
222 | .matches = { | ||
223 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
224 | DMI_MATCH(DMI_PRODUCT_NAME, "Dell XPS710"), | ||
225 | }, | ||
226 | }, | ||
220 | { } | 227 | { } |
221 | }; | 228 | }; |
222 | 229 | ||
@@ -650,7 +657,7 @@ static int crash_nmi_callback(struct notifier_block *self, | |||
650 | 657 | ||
651 | static void smp_send_nmi_allbutself(void) | 658 | static void smp_send_nmi_allbutself(void) |
652 | { | 659 | { |
653 | send_IPI_allbutself(NMI_VECTOR); | 660 | apic->send_IPI_allbutself(NMI_VECTOR); |
654 | } | 661 | } |
655 | 662 | ||
656 | static struct notifier_block crash_nmi_nb = { | 663 | static struct notifier_block crash_nmi_nb = { |