ppc64: Split iomap implementation & eeh !
PATCH 1/1 ppc64: Split iomap implementation & eeh !
Hi !
Nowadays, it's possible to build CONFIG_PPC_PMAC without CONFIG_PPC_PSERIES, in which case, eeh will not be included in the build (and the eeh checks are turned into no-ops). However, we then "lose" the iomap functions. This patch moves them to a separate file.
Signed-off-by Benjamin Herrenschmidt <[email protected]>
arch/ppc64/kernel/Makefile +1 -1
@@ -19,7 +19,7 @@ iSeries_IoMmTable.o pci-obj-$(CONFIG_PPC_MULTIPLATFORM) += pci_dn.o pci_dma_direct.o -obj-$(CONFIG_PCI) += pci.o pci_iommu.o $(pci-obj-y) +obj-$(CONFIG_PCI) += pci.o pci_iommu.o iomap.o $(pci-obj-y) obj-$(CONFIG_PPC_ISERIES) += iSeries_irq.o \ iSeries_VpdInfo.o XmPciLpEvent.o \
arch/ppc64/kernel/eeh.c +0 -115
121 lines not on this page · raw message
arch/ppc64/kernel/iomap.c new file +119 -0
119 lines not on this page · raw message