From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933496AbYEWGjR (ORCPT ); Fri, 23 May 2008 02:39:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754443AbYEWGjA (ORCPT ); Fri, 23 May 2008 02:39:00 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:35847 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753772AbYEWGi7 (ORCPT ); Fri, 23 May 2008 02:38:59 -0400 Message-ID: <483666BA.1060106@jp.fujitsu.com> Date: Fri, 23 May 2008 15:39:54 +0900 From: Taku Izumi User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: linux-acpi@vger.kernel.org CC: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ACPI: add acpi_osi_dmi_table evaluation procedure for ia64 machines References: <4816F9B9.3090609@jp.fujitsu.com> <4836660B.3080406@jp.fujitsu.com> In-Reply-To: <4836660B.3080406@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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)