From: Ben Collins <ben.collins@ubuntu.com>
Date: Fri, 6 Jan 2006 08:12:20 +0000 (-0800)
Subject: [PATCH] i386: Handle HP laptop rebooting properly.
X-Git-Tag: firefly_0821_release~39672^2~176
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=766c3f94d4492ee4ec60b65693e71ee4b1d6fd68;p=firefly-linux-kernel-4.4.55.git

[PATCH] i386: Handle HP laptop rebooting properly.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index 2afe0f8d555a..2fa5803a759d 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -111,12 +111,12 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 2400"),
 		},
 	},
-	{	/* Handle problems with rebooting on HP nc6120 */
+	{	/* Handle problems with rebooting on HP laptops */
 		.callback = set_bios_reboot,
-		.ident = "HP Compaq nc6120",
+		.ident = "HP Compaq Laptop",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq nc6120"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"),
 		},
 	},
 	{ }