lkml.org 
[lkml]   [2008]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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)




\
 
 \ /
  Last update: 2008-05-23 08:41    [W:0.416 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site