Skip to contentSkip to conversation

ppc64: Split iomap implementation & eeh !

PATCH New Benjamin Herrenschmidt 1 participant 1 message Oct 16, 2004

lore
Share & tools
lore
#0 lore raw

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.

arch/ppc64/kernel/Makefile +1 -1
diff -urN linux-2.5/arch/ppc64/kernel/Makefile linux-pogo/arch/ppc64/kernel/Makefile
@@ -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