[PATCH 1/1] Fix acpi dmi blacklisting on Intel Macs

From: Edgar Hucek
Date: Sun Jun 25 2006 - 04:35:55 EST


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@xxxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/