From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946140AbbDXP6x (ORCPT ); Fri, 24 Apr 2015 11:58:53 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44736 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946123AbbDXP6t (ORCPT ); Fri, 24 Apr 2015 11:58:49 -0400 Date: Fri, 24 Apr 2015 08:57:47 -0700 From: tip-bot for Jiang Liu Message-ID: Cc: sivanich@sgi.com, rdunlap@infradead.org, jiang.liu@linux.intel.com, benh@kernel.crashing.org, david.a.cohen@linux.intel.com, tglx@linutronix.de, rjw@rjwysocki.net, hpa@zytor.com, joro@8bytes.org, linux-kernel@vger.kernel.org, jroedel@suse.de, konrad.wilk@oracle.com, linux@eikelenboom.it, gregkh@linuxfoundation.org, bhelgaas@google.com, mingo@kernel.org, yinghai@kernel.org, tony.luck@intel.com, bp@alien8.de, david.vrabel@citrix.com Reply-To: joro@8bytes.org, jroedel@suse.de, linux-kernel@vger.kernel.org, hpa@zytor.com, tglx@linutronix.de, rjw@rjwysocki.net, benh@kernel.crashing.org, david.a.cohen@linux.intel.com, jiang.liu@linux.intel.com, rdunlap@infradead.org, sivanich@sgi.com, david.vrabel@citrix.com, bp@alien8.de, tony.luck@intel.com, mingo@kernel.org, yinghai@kernel.org, bhelgaas@google.com, gregkh@linuxfoundation.org, linux@eikelenboom.it, konrad.wilk@oracle.com In-Reply-To: <1428978610-28986-13-git-send-email-jiang.liu@linux.intel.com> References: <1428978610-28986-13-git-send-email-jiang.liu@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/apic] irq_remapping: Clean up unused interfaces Git-Commit-ID: 4c77c983868ef652bcfc207b40054620219ac2a3 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 4c77c983868ef652bcfc207b40054620219ac2a3 Gitweb: http://git.kernel.org/tip/4c77c983868ef652bcfc207b40054620219ac2a3 Author: Jiang Liu AuthorDate: Tue, 14 Apr 2015 10:29:49 +0800 Committer: Thomas Gleixner CommitDate: Fri, 24 Apr 2015 15:36:53 +0200 irq_remapping: Clean up unused interfaces Now we have converted to hierarchical irqdomains, so clean up unused interfaces. Signed-off-by: Jiang Liu Tested-by: Joerg Roedel Cc: Konrad Rzeszutek Wilk Cc: David Cohen Cc: Sander Eikelenboom Cc: David Vrabel Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: iommu@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Cc: Dimitri Sivanich Cc: Joerg Roedel Link: http://lkml.kernel.org/r/1428978610-28986-13-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner --- drivers/iommu/irq_remapping.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/iommu/irq_remapping.h b/drivers/iommu/irq_remapping.h index 16b7d81..91d5a11 100644 --- a/drivers/iommu/irq_remapping.h +++ b/drivers/iommu/irq_remapping.h @@ -24,11 +24,7 @@ #ifdef CONFIG_IRQ_REMAP -struct IO_APIC_route_entry; -struct io_apic_irq_attr; struct irq_data; -struct cpumask; -struct pci_dev; struct msi_msg; struct irq_domain; struct irq_alloc_info; @@ -54,18 +50,6 @@ struct irq_remap_ops { /* Enable fault handling */ int (*enable_faulting)(void); - /* IO-APIC setup routine */ - int (*setup_ioapic_entry)(int irq, struct IO_APIC_route_entry *, - unsigned int, int, - struct io_apic_irq_attr *); - - /* Set the CPU affinity of a remapped interrupt */ - int (*set_affinity)(struct irq_data *data, const struct cpumask *mask, - bool force); - - /* Free an IRQ */ - int (*free_irq)(int); - /* Get the irqdomain associated the IOMMU device */ struct irq_domain *(*get_ir_irq_domain)(struct irq_alloc_info *);