Skip to content

Commit f63e115

Browse files
ozbenhpaulusmack
authored andcommitted
[POWERPC] Copy i8259 code back to arch/ppc
This copies the i8259 interrupt controller driver from arch/powerpc to arch/ppc. It's currently shared by both architectures, but the upcoming arch/powerpc interrupt changes will break the arch/ppc builds. The changes are too important to just use #ifdef's in the driver. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
1 parent cc9fd71 commit f63e115

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎arch/powerpc/sysdev/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ endif
44

55
obj-$(CONFIG_MPIC) += mpic.o
66
obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o
7-
obj-$(CONFIG_PPC_I8259) += i8259.o
87
obj-$(CONFIG_PPC_MPC106) += grackle.o
98
obj-$(CONFIG_BOOKE) += dcr.o
109
obj-$(CONFIG_40x) += dcr.o
@@ -14,3 +13,7 @@ obj-$(CONFIG_PPC_83xx) += ipic.o
1413
obj-$(CONFIG_FSL_SOC) += fsl_soc.o
1514
obj-$(CONFIG_PPC_TODC) += todc.o
1615
obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
16+
17+
ifeq ($(CONFIG_PPC_MERGE),y)
18+
obj-$(CONFIG_PPC_I8259) += i8259.o
19+
endif

‎arch/ppc/syslib/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,5 @@ obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \
104104
ifeq ($(CONFIG_PPC_MPC52xx),y)
105105
obj-$(CONFIG_PCI) += mpc52xx_pci.o
106106
endif
107+
108+
obj-$(CONFIG_PPC_I8259) += i8259.o

0 commit comments

Comments
 (0)