Messages in this thread Patch in this message | | | Date | Fri, 23 May 2008 15:39:54 +0900 | From | Taku Izumi <> | 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@jp.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)
| |