From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053AbcHLV5A (ORCPT ); Fri, 12 Aug 2016 17:57:00 -0400 Received: from mailrelay104.isp.belgacom.be ([195.238.20.131]:18088 "EHLO mailrelay104.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbcHLVzT (ORCPT ); Fri, 12 Aug 2016 17:55:19 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AGBACeRK5X/0VLtVtegnJTgVK3JoIPg?= =?us-ascii?q?X2GHYFJORQCAQEBAQEBXSeFDC8jKXEkARKINbUfiw+GKo5oBZk9jxUCj0FIj2c?= =?us-ascii?q?eNoFBAQtFHIFOOjKHGgEBAQ?= From: Fabian Frederick To: Joerg Roedel , Ingo Molnar Cc: linux-kernel@vger.kernel.org, fabf@skynet.be Subject: [PATCH 1/1 linux-next] iommu/amd: remove AMD_IOMMU_STATS Date: Fri, 12 Aug 2016 23:54:47 +0200 Message-Id: <1471038887-13199-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit e85e8f69cedb ("iommu/amd: Remove statistics code") removed that config. Signed-off-by: Fabian Frederick --- arch/x86/configs/x86_64_defconfig | 1 - drivers/iommu/amd_iommu_proto.h | 4 ---- 2 files changed, 5 deletions(-) diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index d28bdab..7ef4a09 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -255,7 +255,6 @@ CONFIG_RTC_CLASS=y CONFIG_DMADEVICES=y CONFIG_EEEPC_LAPTOP=y CONFIG_AMD_IOMMU=y -CONFIG_AMD_IOMMU_STATS=y CONFIG_INTEL_IOMMU=y # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_EFI_VARS=y diff --git a/drivers/iommu/amd_iommu_proto.h b/drivers/iommu/amd_iommu_proto.h index 0bd9eb3..697bccc 100644 --- a/drivers/iommu/amd_iommu_proto.h +++ b/drivers/iommu/amd_iommu_proto.h @@ -78,12 +78,8 @@ static inline int amd_iommu_create_irq_domain(struct amd_iommu *iommu) extern int amd_iommu_complete_ppr(struct pci_dev *pdev, int pasid, int status, int tag); -#ifndef CONFIG_AMD_IOMMU_STATS - static inline void amd_iommu_stats_init(void) { } -#endif /* !CONFIG_AMD_IOMMU_STATS */ - static inline bool is_rd890_iommu(struct pci_dev *pdev) { return (pdev->vendor == PCI_VENDOR_ID_ATI) && -- 2.8.1