summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/reboot.c
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@ubuntu.com>2007-06-01 07:46:40 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-01 15:18:28 (GMT)
commitb9e82af823c10d8f981072e0d7c3a8a31f73e0bd (patch)
tree6af18231fb5e0117f66a3aa1f24797feeb175f18 /arch/i386/kernel/reboot.c
parent0939c17c7bcf1c838bea4445b80a6966809a438f (diff)
downloadlinux-b9e82af823c10d8f981072e0d7c3a8a31f73e0bd.tar.xz
Work around Dell E520 BIOS reboot bug
Force Dell E520 to use the BIOS to shutdown/reboot. I have at least one report that this patch fixes shutdown/reboot problems on the Dell E520 platform. (Andi says: People can always set the boot option. It hardly seems like a critical issue needing a backport.) Signed-off-by: Tim Gardner <tim.gardner@ubuntu.com> Acked-by: Andi Kleen <ak@suse.de> Acked-by: Matt Domsch <Matt_Domsch@dell.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/reboot.c')
-rw-r--r--arch/i386/kernel/reboot.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index 50dfc65..5513f8d 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -89,6 +89,14 @@ static int __init set_bios_reboot(struct dmi_system_id *d)
}
static struct dmi_system_id __initdata reboot_dmi_table[] = {
+ { /* Handle problems with rebooting on Dell E520's */
+ .callback = set_bios_reboot,
+ .ident = "Dell E520",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
+ },
+ },
{ /* Handle problems with rebooting on Dell 1300's */
.callback = set_bios_reboot,
.ident = "Dell PowerEdge 1300",