From patchwork Mon Jun 6 17:58:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Luck X-Patchwork-Id: 853032 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p56HwxuK031511 for ; Mon, 6 Jun 2011 17:59:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755945Ab1FFR67 (ORCPT ); Mon, 6 Jun 2011 13:58:59 -0400 Received: from mga14.intel.com ([143.182.124.37]:9373 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751655Ab1FFR66 convert rfc822-to-8bit (ORCPT ); Mon, 6 Jun 2011 13:58:58 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 06 Jun 2011 10:58:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,327,1304319600"; d="scan'208";a="7962477" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by azsmga001.ch.intel.com with ESMTP; 06 Jun 2011 10:58:55 -0700 Received: from orsmsx505.amr.corp.intel.com ([10.22.226.208]) by orsmsx602.amr.corp.intel.com ([10.22.226.211]) with mapi; Mon, 6 Jun 2011 10:58:55 -0700 From: "Luck, Tony" To: "Rafael J. Wysocki" CC: LKML , Len Brown , Greg KH , Kay Sievers , Jesse Barnes , Linux PM mailing list , "H. Peter Anvin" , "mingo@redhat.com" , "tglx@linutronix.de" , Dave Jones , Alan Stern , Avi Kivity , "linux-pci@vger.kernel.org" Date: Mon, 6 Jun 2011 10:58:53 -0700 Subject: RE: [PATCH 5/8] PCI / Intel IOMMU: Use syscore_ops instead of sysdev class and sysdev Thread-Topic: [PATCH 5/8] PCI / Intel IOMMU: Use syscore_ops instead of sysdev class and sysdev Thread-Index: Acwkcya55zrZyxgGRmGbxB9FEwMzPwAACWIw Message-ID: <987664A83D2D224EAE907B061CE93D5301E700ED2B@orsmsx505.amr.corp.intel.com> References: <201103100131.58206.rjw@sisk.pl> <201103122218.14832.rjw@sisk.pl> <201106061957.35413.rjw@sisk.pl> In-Reply-To: <201106061957.35413.rjw@sisk.pl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 06 Jun 2011 17:59:00 +0000 (UTC) > I guess you mean the following? Rafael Exactly. Thanks -Tony --- From: Rafael J. Wysocki If CONFIG_PM is not set, init_iommu_pm_ops() introduced by commit 134fac3f457f3dd753ecdb25e6da3e5f6629f696 (PCI / Intel IOMMU: Use syscore_ops instead of sysdev class and sysdev) is not defined appropriately. Fix this issue. Reported-by: Tony Luck Signed-off-by: Rafael J. Wysocki --- drivers/pci/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6/drivers/pci/intel-iommu.c =================================================================== --- linux-2.6.orig/drivers/pci/intel-iommu.c +++ linux-2.6/drivers/pci/intel-iommu.c @@ -3388,7 +3388,7 @@ static void __init init_iommu_pm_ops(voi } #else -static inline int init_iommu_pm_ops(void) { } +static inline void init_iommu_pm_ops(void) {} #endif /* CONFIG_PM */ /*