diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile index 86995d6dd0ba..b9085ecbb27b 100644 --- a/arch/sparc/math-emu/Makefile +++ b/arch/sparc/math-emu/Makefile @@ -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 diff --git a/arch/sparc/math-emu/math.c b/arch/sparc/math-emu/math_32.c similarity index 99% rename from arch/sparc/math-emu/math.c rename to arch/sparc/math-emu/math_32.c index 8613b3eb877c..e13f65da17df 100644 --- a/arch/sparc/math-emu/math.c +++ b/arch/sparc/math-emu/math_32.c @@ -69,7 +69,7 @@ #include #include -#include "sfp-util.h" +#include "sfp-util_32.h" #include #include #include diff --git a/arch/sparc/math-emu/sfp-util.h b/arch/sparc/math-emu/sfp-util_32.h similarity index 100% rename from arch/sparc/math-emu/sfp-util.h rename to arch/sparc/math-emu/sfp-util_32.h