Skip to contentSkip to conversation

sparc: prepare math-emu for unification

PATCH Applied Sam Ravnborg 2 participants 2 messages Nov 16, 2008 – Nov 17, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 sparc: prepare math-emu for unification

Add _32 to filenames to make them 32 bit unique

---
 arch/sparc/math-emu/Makefile                      |    2 +-
 arch/sparc/math-emu/{math.c => math_32.c}         |    2 +-
 arch/sparc/math-emu/{sfp-util.h => sfp-util_32.h} |    0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/sparc/math-emu/{math.c => math_32.c} (99%)
 rename arch/sparc/math-emu/{sfp-util.h => sfp-util_32.h} (100%)
arch/sparc/math-emu/Makefile +1 -1
index 86995d6..b9085ec 100644
@@ -5,4 +5,4 @@
 # supress all warnings - as math.c produces a lot!
 ccflags-y := -w
 
-obj-y    := math.o
+obj-y    := math_$(BITS).o
arch/sparc/math-emu/math_32.c renamed from arch/sparc/math-emu/math.c +1 -1
similarity index 99%
rename from arch/sparc/math-emu/math.c
rename to arch/sparc/math-emu/math_32.c
index 8613b3e..e13f65d 100644
@@ -69,7 +69,7 @@
 #include <linux/mm.h>
 #include <asm/uaccess.h>
 
-#include "sfp-util.h"
+#include "sfp-util_32.h"
 #include <math-emu/soft-fp.h>
 #include <math-emu/single.h>
 #include <math-emu/double.h>
arch/sparc/math-emu/sfp-util_32.h renamed from arch/sparc/math-emu/sfp-util.h +0 -0
similarity index 100%
rename from arch/sparc/math-emu/sfp-util.h
rename to arch/sparc/math-emu/sfp-util_32.h
Signature · 1 line
1.5.6.GIT