Skip to contentSkip to conversation

sparc64: unify math-emu

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 5/8 sparc64: unify math-emu

Move relavent files to sparc/math-emu and
adjust path/include accordingly.

---
 .../math-emu/math.c => sparc/math-emu/math_64.c}   |    2 +-
 .../sfp-util.h => sparc/math-emu/sfp-util_64.h}    |    0
 arch/sparc64/Makefile                              |    2 +-
 arch/sparc64/math-emu/Makefile                     |    7 -------
 4 files changed, 2 insertions(+), 9 deletions(-)
 rename arch/{sparc64/math-emu/math.c => sparc/math-emu/math_64.c} (99%)
 rename arch/{sparc64/math-emu/sfp-util.h => sparc/math-emu/sfp-util_64.h} (100%)
 delete mode 100644 arch/sparc64/math-emu/Makefile
arch/sparc/math-emu/math_64.c renamed from arch/sparc64/math-emu/math.c +1 -1
similarity index 99%
rename from arch/sparc64/math-emu/math.c
rename to arch/sparc/math-emu/math_64.c
index add053e..6863c9b 100644
@@ -16,7 +16,7 @@
 #include <asm/ptrace.h>
 #include <asm/uaccess.h>
 
-#include "sfp-util.h"
+#include "sfp-util_64.h"
 #include <math-emu/soft-fp.h>
 #include <math-emu/single.h>
 #include <math-emu/double.h>
arch/sparc/math-emu/sfp-util_64.h renamed from arch/sparc64/math-emu/sfp-util.h +0 -0
similarity index 100%
rename from arch/sparc64/math-emu/sfp-util.h
rename to arch/sparc/math-emu/sfp-util_64.h
arch/sparc64/Makefile +1 -1
index 51bc33a..e9f98ec 100644
@@ -28,7 +28,7 @@ endif
 head-y := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o
 
 core-y				+= arch/sparc64/kernel/ arch/sparc64/mm/
-core-y				+= arch/sparc64/math-emu/
+core-y				+= arch/sparc/math-emu/
 libs-y				+= arch/sparc64/prom/ arch/sparc64/lib/
 drivers-$(CONFIG_OPROFILE)	+= arch/sparc64/oprofile/
 
arch/sparc64/math-emu/Makefile deleted +0 -7
deleted file mode 100644
index cc5cb9b..0000000
@@ -1,7 +0,0 @@
-#
-# Makefile for the FPU instruction emulation.
-#
-
-obj-y    := math.o
-
-EXTRA_CFLAGS = -Iinclude/math-emu -w
Signature · 1 line
1.5.6.GIT