[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <483666BA.1060106@jp.fujitsu.com>
Date: Fri, 23 May 2008 15:39:54 +0900
From: Taku Izumi <izumi.taku@...fujitsu.com>
To: linux-acpi@...r.kernel.org
CC: linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] ACPI: add acpi_osi_dmi_table evaluation procedure for
ia64 machines
Currently, acpi_osi_dmi_table is valid only for x86 machines.
This patch makes its table valid for ia64 machines too and adds
evaluation procedure for the purpose of checking if OSI(Linux)
should be enabled or not.
Signed-off-by: Taku Izumi <izumi.taku@...fujitsu.com>
---
arch/ia64/kernel/setup.c | 7 +++++++
drivers/acpi/Makefile | 1 +
2 files changed, 8 insertions(+)
Index: linux-2.6.25.4/arch/ia64/kernel/setup.c
===================================================================
--- linux-2.6.25.4.orig/arch/ia64/kernel/setup.c
+++ linux-2.6.25.4/arch/ia64/kernel/setup.c
@@ -985,3 +985,10 @@ static int __init run_dmi_scan(void)
return 0;
}
core_initcall(run_dmi_scan);
+
+static int __init invoke_acpi_blacklisted(void)
+{
+ acpi_blacklisted();
+ return 0;
+}
+postcore_initcall(invoke_acpi_blacklisted);
Index: linux-2.6.25.4/drivers/acpi/Makefile
===================================================================
--- linux-2.6.25.4.orig/drivers/acpi/Makefile
+++ linux-2.6.25.4/drivers/acpi/Makefile
@@ -17,6 +17,7 @@ EXTRA_CFLAGS += $(ACPI_CFLAGS)
#
obj-y += tables.o
obj-$(CONFIG_X86) += blacklist.o
+obj-$(CONFIG_IA64) += blacklist.o
#
# ACPI Core Subsystem (Interpreter)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists