From patchwork Wed May 12 01:26:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 98892 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4C1RZ87019560 for ; Wed, 12 May 2010 01:27:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752047Ab0ELB1e (ORCPT ); Tue, 11 May 2010 21:27:34 -0400 Received: from mga03.intel.com ([143.182.124.21]:57082 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944Ab0ELB1d (ORCPT ); Tue, 11 May 2010 21:27:33 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 11 May 2010 18:27:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,211,1272870000"; d="scan'208";a="276035054" Received: from minggr.sh.intel.com (HELO [10.239.13.33]) ([10.239.13.33]) by azsmga001.ch.intel.com with ESMTP; 11 May 2010 18:27:31 -0700 Subject: RE: [PATCH] acpi: fix early DSDT dmi check warnings on ia64 From: Lin Ming To: "Luck, Tony" Cc: Bjorn Helgaas , Len Brown , linux-acpi In-Reply-To: <987664A83D2D224EAE907B061CE93D53C5D446C0@orsmsx505.amr.corp.intel.com> References: <1272505354.9950.16.camel@minggr.sh.intel.com> <201004290956.26922.bjorn.helgaas@hp.com> <987664A83D2D224EAE907B061CE93D53B91F9656@orsmsx505.amr.corp.intel.com> <1273111119.9950.41.camel@minggr.sh.intel.com> <1273543767.30322.2.camel@minggr.sh.intel.com> <987664A83D2D224EAE907B061CE93D53C5D446C0@orsmsx505.amr.corp.intel.com> Date: Wed, 12 May 2010 09:26:48 +0800 Message-Id: <1273627608.30322.78.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 (2.24.1-2.fc10) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 12 May 2010 01:27:35 +0000 (UTC) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index c0113e6..9042a85 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -69,6 +69,7 @@ static struct dmi_system_id __cpuinitdata power_nocheck_dmi_table[] = { }; +#ifdef CONFIG_X86 static int set_copy_dsdt(const struct dmi_system_id *id) { printk(KERN_NOTICE "%s detected - " @@ -97,8 +98,14 @@ static struct dmi_system_id dsdt_dmi_table[] __initdata = { DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), DMI_MATCH(DMI_PRODUCT_NAME, "Satellite L505D"), }, - } + }, + {} }; +#else +static struct dmi_system_id dsdt_dmi_table[] __initdata = { + {} +}; +#endif /* -------------------------------------------------------------------------- Device Management