public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Taku Izumi <izumi.taku@jp.fujitsu.com>
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
Date: Fri, 23 May 2008 15:39:54 +0900	[thread overview]
Message-ID: <483666BA.1060106@jp.fujitsu.com> (raw)
In-Reply-To: <4836660B.3080406@jp.fujitsu.com>

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)




  reply	other threads:[~2008-05-23  6:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4816F9B9.3090609@jp.fujitsu.com>
2008-05-23  6:36 ` [PATCH 0/2] ACPI: add "OSI(Linux) checking procedure" for ia64 machines Taku Izumi
2008-05-23  6:39   ` Taku Izumi [this message]
2008-05-23  6:43   ` [PATCH 2/2] ACPI: add DMI info to enable OSI(Linux) on PRIMEQUEST Taku Izumi
2008-05-25 11:43     ` Pavel Machek
2008-05-26  7:56       ` Taku Izumi
2008-05-26  8:06         ` Pavel Machek
2008-05-27  1:13           ` KAMEZAWA Hiroyuki
2008-05-27  2:05             ` Arjan van de Ven
2008-05-27 23:20     ` Andrew Morton
2008-05-27 23:41       ` Tony Luck
2008-05-27 23:50         ` Andrew Morton
2008-05-28  4:04           ` Luck, Tony
2008-05-28  0:09       ` KAMEZAWA Hiroyuki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483666BA.1060106@jp.fujitsu.com \
    --to=izumi.taku@jp.fujitsu.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox