powerpc: Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c
Stephen Rothwell [Mon, 24 Oct 2005 04:22:37 +0000 (14:22 +1000)]
Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c, update
the Makefiles to make it work, and make ARCH=ppc64 still work.

Michael's version put vio.c in arch/powerpc/sysedv but after consolting
Paulus, this one puts it in arch/powerpc/kernel.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

arch/powerpc/kernel/Makefile
arch/powerpc/kernel/vio.c [moved from arch/ppc64/kernel/vio.c with 100% similarity]
arch/ppc64/kernel/Makefile

index 6b0f176..f5d8038 100644 (file)
@@ -16,6 +16,7 @@ obj-$(CONFIG_PPC64)           += binfmt_elf32.o sys_ppc32.o ptrace32.o
 obj-$(CONFIG_ALTIVEC)          += vecemu.o vector.o
 obj-$(CONFIG_POWER4)           += idle_power4.o
 obj-$(CONFIG_PPC_OF)           += of_device.o
+obj-$(CONFIG_IBMVIO)           += vio.o
 
 ifeq ($(CONFIG_PPC_MERGE),y)
 
index 424dd25..ce5c99d 100644 (file)
@@ -53,7 +53,6 @@ obj-$(CONFIG_BOOTX_TEXT)      += btext.o
 endif
 obj-$(CONFIG_HVCS)             += hvcserver.o
 
-obj-$(CONFIG_IBMVIO)           += vio.o
 obj-$(CONFIG_XICS)             += xics.o
 
 obj-$(CONFIG_PPC_PMAC)         += udbg_scc.o