lkml.org 
[lkml]   [2006]   [Jun]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 25 Jun 2006 10:16:06 +0200
FromEdgar Hucek <>
Subject[PATCH 1/1] Fix acpi dmi blacklisting on Intel Macs
This patch fixes acpi dmi blacklisting on
native booted Intel Macs. I'm not sure
if this is also ok for other EFI powerd
Intel Boxes.

Signed-off-by: Edgar Hucek <hostmaster@ed-soft.at>

--- a/drivers/acpi/blacklist.c	2006-06-25 10:00:40.000000000 +0200
+++ b/drivers/acpi/blacklist.c	2006-06-25 10:04:06.000000000 +0200
@@ -79,6 +79,9 @@
 {
 	int year = dmi_get_year(DMI_BIOS_DATE);
 
+	if (efi_enabled)
+		return 0;
+
 	/* Doesn't exist? Likely an old system */
 	if (year == -1) 
 		return 1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-25 08:20    [from the cache]
©2003-2008