summaryrefslogtreecommitdiffstats
path: root/kernel/irq/msi.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-11-22 10:21:16 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-11-22 11:00:19 +0100
commit4e201566402c878a225d4425df8a4a664c6f251e (patch)
tree45866ad842008a9ec119302a4540a607f315405c /kernel/irq/msi.c
parentirqchip/bcm7038-l1: Implement irq_cpu_offline() callback (diff)
downloadlinux-4e201566402c878a225d4425df8a4a664c6f251e.tar.xz
linux-4e201566402c878a225d4425df8a4a664c6f251e.zip
genirq/msi: Drop artificial PCI dependency
The generic MSI layer doesn't have any PCI ties anymore, and the build hack should have been removed some time ago. Fixes: d9109698be6e ("genirq: Introduce msi_domain_alloc/free_irqs()") Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Link: http://lkml.kernel.org/r/1479806476-20801-1-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/msi.c')
-rw-r--r--kernel/irq/msi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 8a3e872798f3..ee230063f033 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -14,9 +14,7 @@
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/msi.h>
-
-/* Temparory solution for building, will be removed later */
-#include <linux/pci.h>
+#include <linux/slab.h>
/**
* alloc_msi_entry - Allocate an initialize msi_entry