From 5cd272085bbc905532869f3e1fd18a7100496b56 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Mon, 27 Mar 2006 23:43:27 -0600 Subject: [PATCH] powerpc: move math-emu over to arch/powerpc Towards the goal of having arch/powerpc not build anything over in arch/ppc move math-emu over. Also, killed some references to arch/ppc/ in the arch/powerpc Makefile which should belong in drivers/ when the particular sub-arch's move over to arch/powerpc. Signed-off-by: Kumar Gala --- arch/powerpc/Makefile | 6 +----- arch/{ppc => powerpc}/math-emu/Makefile | 0 arch/{ppc => powerpc}/math-emu/double.h | 0 arch/{ppc => powerpc}/math-emu/fabs.c | 0 arch/{ppc => powerpc}/math-emu/fadd.c | 0 arch/{ppc => powerpc}/math-emu/fadds.c | 0 arch/{ppc => powerpc}/math-emu/fcmpo.c | 0 arch/{ppc => powerpc}/math-emu/fcmpu.c | 0 arch/{ppc => powerpc}/math-emu/fctiw.c | 0 arch/{ppc => powerpc}/math-emu/fctiwz.c | 0 arch/{ppc => powerpc}/math-emu/fdiv.c | 0 arch/{ppc => powerpc}/math-emu/fdivs.c | 0 arch/{ppc => powerpc}/math-emu/fmadd.c | 0 arch/{ppc => powerpc}/math-emu/fmadds.c | 0 arch/{ppc => powerpc}/math-emu/fmr.c | 0 arch/{ppc => powerpc}/math-emu/fmsub.c | 0 arch/{ppc => powerpc}/math-emu/fmsubs.c | 0 arch/{ppc => powerpc}/math-emu/fmul.c | 0 arch/{ppc => powerpc}/math-emu/fmuls.c | 0 arch/{ppc => powerpc}/math-emu/fnabs.c | 0 arch/{ppc => powerpc}/math-emu/fneg.c | 0 arch/{ppc => powerpc}/math-emu/fnmadd.c | 0 arch/{ppc => powerpc}/math-emu/fnmadds.c | 0 arch/{ppc => powerpc}/math-emu/fnmsub.c | 0 arch/{ppc => powerpc}/math-emu/fnmsubs.c | 0 arch/{ppc => powerpc}/math-emu/fres.c | 0 arch/{ppc => powerpc}/math-emu/frsp.c | 0 arch/{ppc => powerpc}/math-emu/frsqrte.c | 0 arch/{ppc => powerpc}/math-emu/fsel.c | 0 arch/{ppc => powerpc}/math-emu/fsqrt.c | 0 arch/{ppc => powerpc}/math-emu/fsqrts.c | 0 arch/{ppc => powerpc}/math-emu/fsub.c | 0 arch/{ppc => powerpc}/math-emu/fsubs.c | 0 arch/{ppc => powerpc}/math-emu/lfd.c | 0 arch/{ppc => powerpc}/math-emu/lfs.c | 0 arch/{ppc => powerpc}/math-emu/math.c | 0 arch/{ppc => powerpc}/math-emu/mcrfs.c | 0 arch/{ppc => powerpc}/math-emu/mffs.c | 0 arch/{ppc => powerpc}/math-emu/mtfsb0.c | 0 arch/{ppc => powerpc}/math-emu/mtfsb1.c | 0 arch/{ppc => powerpc}/math-emu/mtfsf.c | 0 arch/{ppc => powerpc}/math-emu/mtfsfi.c | 0 arch/{ppc => powerpc}/math-emu/op-1.h | 0 arch/{ppc => powerpc}/math-emu/op-2.h | 0 arch/{ppc => powerpc}/math-emu/op-4.h | 0 arch/{ppc => powerpc}/math-emu/op-common.h | 0 arch/{ppc => powerpc}/math-emu/sfp-machine.h | 0 arch/{ppc => powerpc}/math-emu/single.h | 0 arch/{ppc => powerpc}/math-emu/soft-fp.h | 0 arch/{ppc => powerpc}/math-emu/stfd.c | 0 arch/{ppc => powerpc}/math-emu/stfiwx.c | 0 arch/{ppc => powerpc}/math-emu/stfs.c | 0 arch/{ppc => powerpc}/math-emu/types.c | 0 arch/{ppc => powerpc}/math-emu/udivmodti4.c | 0 arch/ppc/Makefile | 2 +- 55 files changed, 2 insertions(+), 6 deletions(-) rename arch/{ppc => powerpc}/math-emu/Makefile (100%) rename arch/{ppc => powerpc}/math-emu/double.h (100%) rename arch/{ppc => powerpc}/math-emu/fabs.c (100%) rename arch/{ppc => powerpc}/math-emu/fadd.c (100%) rename arch/{ppc => powerpc}/math-emu/fadds.c (100%) rename arch/{ppc => powerpc}/math-emu/fcmpo.c (100%) rename arch/{ppc => powerpc}/math-emu/fcmpu.c (100%) rename arch/{ppc => powerpc}/math-emu/fctiw.c (100%) rename arch/{ppc => powerpc}/math-emu/fctiwz.c (100%) rename arch/{ppc => powerpc}/math-emu/fdiv.c (100%) rename arch/{ppc => powerpc}/math-emu/fdivs.c (100%) rename arch/{ppc => powerpc}/math-emu/fmadd.c (100%) rename arch/{ppc => powerpc}/math-emu/fmadds.c (100%) rename arch/{ppc => powerpc}/math-emu/fmr.c (100%) rename arch/{ppc => powerpc}/math-emu/fmsub.c (100%) rename arch/{ppc => powerpc}/math-emu/fmsubs.c (100%) rename arch/{ppc => powerpc}/math-emu/fmul.c (100%) rename arch/{ppc => powerpc}/math-emu/fmuls.c (100%) rename arch/{ppc => powerpc}/math-emu/fnabs.c (100%) rename arch/{ppc => powerpc}/math-emu/fneg.c (100%) rename arch/{ppc => powerpc}/math-emu/fnmadd.c (100%) rename arch/{ppc => powerpc}/math-emu/fnmadds.c (100%) rename arch/{ppc => powerpc}/math-emu/fnmsub.c (100%) rename arch/{ppc => powerpc}/math-emu/fnmsubs.c (100%) rename arch/{ppc => powerpc}/math-emu/fres.c (100%) rename arch/{ppc => powerpc}/math-emu/frsp.c (100%) rename arch/{ppc => powerpc}/math-emu/frsqrte.c (100%) rename arch/{ppc => powerpc}/math-emu/fsel.c (100%) rename arch/{ppc => powerpc}/math-emu/fsqrt.c (100%) rename arch/{ppc => powerpc}/math-emu/fsqrts.c (100%) rename arch/{ppc => powerpc}/math-emu/fsub.c (100%) rename arch/{ppc => powerpc}/math-emu/fsubs.c (100%) rename arch/{ppc => powerpc}/math-emu/lfd.c (100%) rename arch/{ppc => powerpc}/math-emu/lfs.c (100%) rename arch/{ppc => powerpc}/math-emu/math.c (100%) rename arch/{ppc => powerpc}/math-emu/mcrfs.c (100%) rename arch/{ppc => powerpc}/math-emu/mffs.c (100%) rename arch/{ppc => powerpc}/math-emu/mtfsb0.c (100%) rename arch/{ppc => powerpc}/math-emu/mtfsb1.c (100%) rename arch/{ppc => powerpc}/math-emu/mtfsf.c (100%) rename arch/{ppc => powerpc}/math-emu/mtfsfi.c (100%) rename arch/{ppc => powerpc}/math-emu/op-1.h (100%) rename arch/{ppc => powerpc}/math-emu/op-2.h (100%) rename arch/{ppc => powerpc}/math-emu/op-4.h (100%) rename arch/{ppc => powerpc}/math-emu/op-common.h (100%) rename arch/{ppc => powerpc}/math-emu/sfp-machine.h (100%) rename arch/{ppc => powerpc}/math-emu/single.h (100%) rename arch/{ppc => powerpc}/math-emu/soft-fp.h (100%) rename arch/{ppc => powerpc}/math-emu/stfd.c (100%) rename arch/{ppc => powerpc}/math-emu/stfiwx.c (100%) rename arch/{ppc => powerpc}/math-emu/stfs.c (100%) rename arch/{ppc => powerpc}/math-emu/types.c (100%) rename arch/{ppc => powerpc}/math-emu/udivmodti4.c (100%) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 9586899de68a..6ec84d37a337 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -129,12 +129,8 @@ core-y += arch/powerpc/kernel/ \ arch/powerpc/lib/ \ arch/powerpc/sysdev/ \ arch/powerpc/platforms/ -core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ +core-$(CONFIG_MATH_EMULATION) += arch/powerpc/math-emu/ core-$(CONFIG_XMON) += arch/powerpc/xmon/ -core-$(CONFIG_APUS) += arch/ppc/amiga/ -drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ -drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ -drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ diff --git a/arch/ppc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile similarity index 100% rename from arch/ppc/math-emu/Makefile rename to arch/powerpc/math-emu/Makefile diff --git a/arch/ppc/math-emu/double.h b/arch/powerpc/math-emu/double.h similarity index 100% rename from arch/ppc/math-emu/double.h rename to arch/powerpc/math-emu/double.h diff --git a/arch/ppc/math-emu/fabs.c b/arch/powerpc/math-emu/fabs.c similarity index 100% rename from arch/ppc/math-emu/fabs.c rename to arch/powerpc/math-emu/fabs.c diff --git a/arch/ppc/math-emu/fadd.c b/arch/powerpc/math-emu/fadd.c similarity index 100% rename from arch/ppc/math-emu/fadd.c rename to arch/powerpc/math-emu/fadd.c diff --git a/arch/ppc/math-emu/fadds.c b/arch/powerpc/math-emu/fadds.c similarity index 100% rename from arch/ppc/math-emu/fadds.c rename to arch/powerpc/math-emu/fadds.c diff --git a/arch/ppc/math-emu/fcmpo.c b/arch/powerpc/math-emu/fcmpo.c similarity index 100% rename from arch/ppc/math-emu/fcmpo.c rename to arch/powerpc/math-emu/fcmpo.c diff --git a/arch/ppc/math-emu/fcmpu.c b/arch/powerpc/math-emu/fcmpu.c similarity index 100% rename from arch/ppc/math-emu/fcmpu.c rename to arch/powerpc/math-emu/fcmpu.c diff --git a/arch/ppc/math-emu/fctiw.c b/arch/powerpc/math-emu/fctiw.c similarity index 100% rename from arch/ppc/math-emu/fctiw.c rename to arch/powerpc/math-emu/fctiw.c diff --git a/arch/ppc/math-emu/fctiwz.c b/arch/powerpc/math-emu/fctiwz.c similarity index 100% rename from arch/ppc/math-emu/fctiwz.c rename to arch/powerpc/math-emu/fctiwz.c diff --git a/arch/ppc/math-emu/fdiv.c b/arch/powerpc/math-emu/fdiv.c similarity index 100% rename from arch/ppc/math-emu/fdiv.c rename to arch/powerpc/math-emu/fdiv.c diff --git a/arch/ppc/math-emu/fdivs.c b/arch/powerpc/math-emu/fdivs.c similarity index 100% rename from arch/ppc/math-emu/fdivs.c rename to arch/powerpc/math-emu/fdivs.c diff --git a/arch/ppc/math-emu/fmadd.c b/arch/powerpc/math-emu/fmadd.c similarity index 100% rename from arch/ppc/math-emu/fmadd.c rename to arch/powerpc/math-emu/fmadd.c diff --git a/arch/ppc/math-emu/fmadds.c b/arch/powerpc/math-emu/fmadds.c similarity index 100% rename from arch/ppc/math-emu/fmadds.c rename to arch/powerpc/math-emu/fmadds.c diff --git a/arch/ppc/math-emu/fmr.c b/arch/powerpc/math-emu/fmr.c similarity index 100% rename from arch/ppc/math-emu/fmr.c rename to arch/powerpc/math-emu/fmr.c diff --git a/arch/ppc/math-emu/fmsub.c b/arch/powerpc/math-emu/fmsub.c similarity index 100% rename from arch/ppc/math-emu/fmsub.c rename to arch/powerpc/math-emu/fmsub.c diff --git a/arch/ppc/math-emu/fmsubs.c b/arch/powerpc/math-emu/fmsubs.c similarity index 100% rename from arch/ppc/math-emu/fmsubs.c rename to arch/powerpc/math-emu/fmsubs.c diff --git a/arch/ppc/math-emu/fmul.c b/arch/powerpc/math-emu/fmul.c similarity index 100% rename from arch/ppc/math-emu/fmul.c rename to arch/powerpc/math-emu/fmul.c diff --git a/arch/ppc/math-emu/fmuls.c b/arch/powerpc/math-emu/fmuls.c similarity index 100% rename from arch/ppc/math-emu/fmuls.c rename to arch/powerpc/math-emu/fmuls.c diff --git a/arch/ppc/math-emu/fnabs.c b/arch/powerpc/math-emu/fnabs.c similarity index 100% rename from arch/ppc/math-emu/fnabs.c rename to arch/powerpc/math-emu/fnabs.c diff --git a/arch/ppc/math-emu/fneg.c b/arch/powerpc/math-emu/fneg.c similarity index 100% rename from arch/ppc/math-emu/fneg.c rename to arch/powerpc/math-emu/fneg.c diff --git a/arch/ppc/math-emu/fnmadd.c b/arch/powerpc/math-emu/fnmadd.c similarity index 100% rename from arch/ppc/math-emu/fnmadd.c rename to arch/powerpc/math-emu/fnmadd.c diff --git a/arch/ppc/math-emu/fnmadds.c b/arch/powerpc/math-emu/fnmadds.c similarity index 100% rename from arch/ppc/math-emu/fnmadds.c rename to arch/powerpc/math-emu/fnmadds.c diff --git a/arch/ppc/math-emu/fnmsub.c b/arch/powerpc/math-emu/fnmsub.c similarity index 100% rename from arch/ppc/math-emu/fnmsub.c rename to arch/powerpc/math-emu/fnmsub.c diff --git a/arch/ppc/math-emu/fnmsubs.c b/arch/powerpc/math-emu/fnmsubs.c similarity index 100% rename from arch/ppc/math-emu/fnmsubs.c rename to arch/powerpc/math-emu/fnmsubs.c diff --git a/arch/ppc/math-emu/fres.c b/arch/powerpc/math-emu/fres.c similarity index 100% rename from arch/ppc/math-emu/fres.c rename to arch/powerpc/math-emu/fres.c diff --git a/arch/ppc/math-emu/frsp.c b/arch/powerpc/math-emu/frsp.c similarity index 100% rename from arch/ppc/math-emu/frsp.c rename to arch/powerpc/math-emu/frsp.c diff --git a/arch/ppc/math-emu/frsqrte.c b/arch/powerpc/math-emu/frsqrte.c similarity index 100% rename from arch/ppc/math-emu/frsqrte.c rename to arch/powerpc/math-emu/frsqrte.c diff --git a/arch/ppc/math-emu/fsel.c b/arch/powerpc/math-emu/fsel.c similarity index 100% rename from arch/ppc/math-emu/fsel.c rename to arch/powerpc/math-emu/fsel.c diff --git a/arch/ppc/math-emu/fsqrt.c b/arch/powerpc/math-emu/fsqrt.c similarity index 100% rename from arch/ppc/math-emu/fsqrt.c rename to arch/powerpc/math-emu/fsqrt.c diff --git a/arch/ppc/math-emu/fsqrts.c b/arch/powerpc/math-emu/fsqrts.c similarity index 100% rename from arch/ppc/math-emu/fsqrts.c rename to arch/powerpc/math-emu/fsqrts.c diff --git a/arch/ppc/math-emu/fsub.c b/arch/powerpc/math-emu/fsub.c similarity index 100% rename from arch/ppc/math-emu/fsub.c rename to arch/powerpc/math-emu/fsub.c diff --git a/arch/ppc/math-emu/fsubs.c b/arch/powerpc/math-emu/fsubs.c similarity index 100% rename from arch/ppc/math-emu/fsubs.c rename to arch/powerpc/math-emu/fsubs.c diff --git a/arch/ppc/math-emu/lfd.c b/arch/powerpc/math-emu/lfd.c similarity index 100% rename from arch/ppc/math-emu/lfd.c rename to arch/powerpc/math-emu/lfd.c diff --git a/arch/ppc/math-emu/lfs.c b/arch/powerpc/math-emu/lfs.c similarity index 100% rename from arch/ppc/math-emu/lfs.c rename to arch/powerpc/math-emu/lfs.c diff --git a/arch/ppc/math-emu/math.c b/arch/powerpc/math-emu/math.c similarity index 100% rename from arch/ppc/math-emu/math.c rename to arch/powerpc/math-emu/math.c diff --git a/arch/ppc/math-emu/mcrfs.c b/arch/powerpc/math-emu/mcrfs.c similarity index 100% rename from arch/ppc/math-emu/mcrfs.c rename to arch/powerpc/math-emu/mcrfs.c diff --git a/arch/ppc/math-emu/mffs.c b/arch/powerpc/math-emu/mffs.c similarity index 100% rename from arch/ppc/math-emu/mffs.c rename to arch/powerpc/math-emu/mffs.c diff --git a/arch/ppc/math-emu/mtfsb0.c b/arch/powerpc/math-emu/mtfsb0.c similarity index 100% rename from arch/ppc/math-emu/mtfsb0.c rename to arch/powerpc/math-emu/mtfsb0.c diff --git a/arch/ppc/math-emu/mtfsb1.c b/arch/powerpc/math-emu/mtfsb1.c similarity index 100% rename from arch/ppc/math-emu/mtfsb1.c rename to arch/powerpc/math-emu/mtfsb1.c diff --git a/arch/ppc/math-emu/mtfsf.c b/arch/powerpc/math-emu/mtfsf.c similarity index 100% rename from arch/ppc/math-emu/mtfsf.c rename to arch/powerpc/math-emu/mtfsf.c diff --git a/arch/ppc/math-emu/mtfsfi.c b/arch/powerpc/math-emu/mtfsfi.c similarity index 100% rename from arch/ppc/math-emu/mtfsfi.c rename to arch/powerpc/math-emu/mtfsfi.c diff --git a/arch/ppc/math-emu/op-1.h b/arch/powerpc/math-emu/op-1.h similarity index 100% rename from arch/ppc/math-emu/op-1.h rename to arch/powerpc/math-emu/op-1.h diff --git a/arch/ppc/math-emu/op-2.h b/arch/powerpc/math-emu/op-2.h similarity index 100% rename from arch/ppc/math-emu/op-2.h rename to arch/powerpc/math-emu/op-2.h diff --git a/arch/ppc/math-emu/op-4.h b/arch/powerpc/math-emu/op-4.h similarity index 100% rename from arch/ppc/math-emu/op-4.h rename to arch/powerpc/math-emu/op-4.h diff --git a/arch/ppc/math-emu/op-common.h b/arch/powerpc/math-emu/op-common.h similarity index 100% rename from arch/ppc/math-emu/op-common.h rename to arch/powerpc/math-emu/op-common.h diff --git a/arch/ppc/math-emu/sfp-machine.h b/arch/powerpc/math-emu/sfp-machine.h similarity index 100% rename from arch/ppc/math-emu/sfp-machine.h rename to arch/powerpc/math-emu/sfp-machine.h diff --git a/arch/ppc/math-emu/single.h b/arch/powerpc/math-emu/single.h similarity index 100% rename from arch/ppc/math-emu/single.h rename to arch/powerpc/math-emu/single.h diff --git a/arch/ppc/math-emu/soft-fp.h b/arch/powerpc/math-emu/soft-fp.h similarity index 100% rename from arch/ppc/math-emu/soft-fp.h rename to arch/powerpc/math-emu/soft-fp.h diff --git a/arch/ppc/math-emu/stfd.c b/arch/powerpc/math-emu/stfd.c similarity index 100% rename from arch/ppc/math-emu/stfd.c rename to arch/powerpc/math-emu/stfd.c diff --git a/arch/ppc/math-emu/stfiwx.c b/arch/powerpc/math-emu/stfiwx.c similarity index 100% rename from arch/ppc/math-emu/stfiwx.c rename to arch/powerpc/math-emu/stfiwx.c diff --git a/arch/ppc/math-emu/stfs.c b/arch/powerpc/math-emu/stfs.c similarity index 100% rename from arch/ppc/math-emu/stfs.c rename to arch/powerpc/math-emu/stfs.c diff --git a/arch/ppc/math-emu/types.c b/arch/powerpc/math-emu/types.c similarity index 100% rename from arch/ppc/math-emu/types.c rename to arch/powerpc/math-emu/types.c diff --git a/arch/ppc/math-emu/udivmodti4.c b/arch/powerpc/math-emu/udivmodti4.c similarity index 100% rename from arch/ppc/math-emu/udivmodti4.c rename to arch/powerpc/math-emu/udivmodti4.c diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index cde5fa87f455..87bd0638ab62 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -69,7 +69,7 @@ core-y += arch/ppc/kernel/ arch/powerpc/kernel/ \ core-$(CONFIG_4xx) += arch/ppc/platforms/4xx/ core-$(CONFIG_83xx) += arch/ppc/platforms/83xx/ core-$(CONFIG_85xx) += arch/ppc/platforms/85xx/ -core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ +core-$(CONFIG_MATH_EMULATION) += arch/powerpc/math-emu/ core-$(CONFIG_XMON) += arch/ppc/xmon/ core-$(CONFIG_APUS) += arch/ppc/amiga/ drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ -- 2.20.1