summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/faddd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/math-emu/faddd.c')
-rw-r--r--arch/sparc64/math-emu/faddd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/math-emu/faddd.c b/arch/sparc64/math-emu/faddd.c
index 69b9f7c24..7c755b872 100644
--- a/arch/sparc64/math-emu/faddd.c
+++ b/arch/sparc64/math-emu/faddd.c
@@ -8,6 +8,5 @@ int FADDD(void *rd, void *rs2, void *rs1)
__FP_UNPACK_D(A, rs1);
__FP_UNPACK_D(B, rs2);
FP_ADD_D(R, A, B);
- __FP_PACK_D(rd, R);
- return 1;
+ return __FP_PACK_D(rd, R);
}