From: Jiang Liu Date: Mon, 9 Jun 2014 08:20:10 +0000 (+0800) Subject: x86, irq, devicetree: Release IOAPIC pin when PCI device is disabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=00f49c29b3298806c74589a4ed016a2afb359e98;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86, irq, devicetree: Release IOAPIC pin when PCI device is disabled Release IOAPIC pin associated with PCI device when the PCI device is disabled. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Paul Gortmaker Cc: Greg Kroah-Hartman Cc: Benjamin Herrenschmidt Cc: Grant Likely Cc: Rafael J. Wysocki Cc: Bjorn Helgaas Cc: Randy Dunlap Cc: Yinghai Lu Cc: Rob Herring Cc: Michal Simek Cc: Tony Lindgren Link: http://lkml.kernel.org/r/1402302011-23642-42-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index f33bb436b8f4..3d3503351242 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -226,6 +226,7 @@ static int ioapic_xlate(struct irq_domain *domain, const struct irq_domain_ops ioapic_irq_domain_ops = { .map = mp_irqdomain_map, + .unmap = mp_irqdomain_unmap, .xlate = ioapic_xlate, };