From patchwork Thu Apr 29 01:42:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 95849 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 o3T1fYcd031693 for ; Thu, 29 Apr 2010 01:41:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754771Ab0D2Ble (ORCPT ); Wed, 28 Apr 2010 21:41:34 -0400 Received: from mga09.intel.com ([134.134.136.24]:53861 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754757Ab0D2Bld (ORCPT ); Wed, 28 Apr 2010 21:41:33 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 28 Apr 2010 18:40:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.52,292,1270450800"; d="scan'208";a="513466186" Received: from minggr.sh.intel.com (HELO [10.239.13.33]) ([10.239.13.33]) by orsmga002.jf.intel.com with ESMTP; 28 Apr 2010 18:41:09 -0700 Subject: [PATCH] acpi: fix early DSDT dmi check warnings on ia64 From: Lin Ming To: Len Brown , tony.luck@intel.com Cc: linux-acpi Date: Thu, 29 Apr 2010 09:42:34 +0800 Message-Id: <1272505354.9950.16.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]); Thu, 29 Apr 2010 01:41:36 +0000 (UTC) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 49af19b..047de07 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -847,8 +847,10 @@ void __init acpi_early_init(void) /* * If the machine falls into the DMI check table, * DSDT will be copied to memory + * Only check x86, it's too early to check dmi for ia64 */ - dmi_check_system(dsdt_dmi_table); + if (dmi_available) + dmi_check_system(dsdt_dmi_table); status = acpi_reallocate_root_table(); if (ACPI_FAILURE(status)) {