Skip to content

Commit be0ce12

Browse files
Matthew Minterbjorn-helgaas
authored andcommitted
PCI: Build setup-irq.o on all arches
The functions included in setup-irq.o currently apply only to a selection of architectures which share common IRQ assignment code. However this code needs to be generalised for all arches to allow deferred IRQ assignment. So the first step is to build it on all architectures. Signed-off-by: Matthew Minter <matt@masarand.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent 9ee8a1c commit be0ce12

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

drivers/pci/Makefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
obj-y += access.o bus.o probe.o host-bridge.o remove.o pci.o \
66
pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7-
irq.o vpd.o setup-bus.o vc.o mmap.o
7+
irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
8+
89
obj-$(CONFIG_PROC_FS) += proc.o
910
obj-$(CONFIG_SYSFS) += slot.o
1011

@@ -28,20 +29,6 @@ obj-$(CONFIG_HT_IRQ) += htirq.o
2829
obj-$(CONFIG_PCI_ATS) += ats.o
2930
obj-$(CONFIG_PCI_IOV) += iov.o
3031

31-
#
32-
# Some architectures use the generic PCI setup functions
33-
#
34-
obj-$(CONFIG_ALPHA) += setup-irq.o
35-
obj-$(CONFIG_ARC) += setup-irq.o
36-
obj-$(CONFIG_ARM) += setup-irq.o
37-
obj-$(CONFIG_ARM64) += setup-irq.o
38-
obj-$(CONFIG_UNICORE32) += setup-irq.o
39-
obj-$(CONFIG_SUPERH) += setup-irq.o
40-
obj-$(CONFIG_MIPS) += setup-irq.o
41-
obj-$(CONFIG_TILE) += setup-irq.o
42-
obj-$(CONFIG_SPARC_LEON) += setup-irq.o
43-
obj-$(CONFIG_M68K) += setup-irq.o
44-
4532
#
4633
# ACPI Related PCI FW Functions
4734
# ACPI _DSM provided firmware instance and string name

0 commit comments

Comments
 (0)