aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-11-16 23:07:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-04 12:16:56 -0500
commit5115f39c2034cb80a050d996a2a6343bce189628 (patch)
treef106dcf237f9f7de49d4ad5d5f3b81968f663e46
parent774434bf33bdc876c2818eba34e416fe1fc7a746 (diff)
sparc64: unify math-emu
Move relavent files to sparc/math-emu and adjust path/include accordingly. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/math-emu/math_64.c (renamed from arch/sparc64/math-emu/math.c)2
-rw-r--r--arch/sparc/math-emu/sfp-util_64.h (renamed from arch/sparc64/math-emu/sfp-util.h)0
-rw-r--r--arch/sparc64/Makefile2
-rw-r--r--arch/sparc64/math-emu/Makefile7
4 files changed, 2 insertions, 9 deletions
diff --git a/arch/sparc64/math-emu/math.c b/arch/sparc/math-emu/math_64.c
index add053e0f3b3..6863c9bde25c 100644
--- a/arch/sparc64/math-emu/math.c
+++ b/arch/sparc/math-emu/math_64.c
@@ -16,7 +16,7 @@
16#include <asm/ptrace.h> 16#include <asm/ptrace.h>
17#include <asm/uaccess.h> 17#include <asm/uaccess.h>
18 18
19#include "sfp-util.h" 19#include "sfp-util_64.h"
20#include <math-emu/soft-fp.h> 20#include <math-emu/soft-fp.h>
21#include <math-emu/single.h> 21#include <math-emu/single.h>
22#include <math-emu/double.h> 22#include <math-emu/double.h>
diff --git a/arch/sparc64/math-emu/sfp-util.h b/arch/sparc/math-emu/sfp-util_64.h
index 425d3cf01af4..425d3cf01af4 100644
--- a/arch/sparc64/math-emu/sfp-util.h
+++ b/arch/sparc/math-emu/sfp-util_64.h
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile
index 51bc33a6ef33..e9f98ec4a69e 100644
--- a/arch/sparc64/Makefile
+++ b/arch/sparc64/Makefile
@@ -28,7 +28,7 @@ endif
28head-y := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o 28head-y := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o
29 29
30core-y += arch/sparc64/kernel/ arch/sparc64/mm/ 30core-y += arch/sparc64/kernel/ arch/sparc64/mm/
31core-y += arch/sparc64/math-emu/ 31core-y += arch/sparc/math-emu/
32libs-y += arch/sparc64/prom/ arch/sparc64/lib/ 32libs-y += arch/sparc64/prom/ arch/sparc64/lib/
33drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/ 33drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/
34 34
diff --git a/arch/sparc64/math-emu/Makefile b/arch/sparc64/math-emu/Makefile
deleted file mode 100644
index cc5cb9baf6aa..000000000000
--- a/arch/sparc64/math-emu/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
1#
2# Makefile for the FPU instruction emulation.
3#
4
5obj-y := math.o
6
7EXTRA_CFLAGS = -Iinclude/math-emu -w