aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/nofpu/sfp-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/sfp-machine.h')
-rw-r--r--sysdeps/powerpc/nofpu/sfp-machine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/powerpc/nofpu/sfp-machine.h b/sysdeps/powerpc/nofpu/sfp-machine.h
index d92a90e3e2..8489c0f1c0 100644
--- a/sysdeps/powerpc/nofpu/sfp-machine.h
+++ b/sysdeps/powerpc/nofpu/sfp-machine.h
@@ -67,11 +67,10 @@ libc_hidden_proto (__feraiseexcept_soft)
do \
{ \
int _r; \
- INTERNAL_SYSCALL_DECL (_err); \
\
_spefscr = fegetenv_register (); \
- _r = INTERNAL_SYSCALL (prctl, _err, 2, PR_GET_FPEXC, &_ftrapex); \
- if (INTERNAL_SYSCALL_ERROR_P (_r, _err)) \
+ _r = INTERNAL_SYSCALL_CALL (prctl, PR_GET_FPEXC, &_ftrapex); \
+ if (INTERNAL_SYSCALL_ERROR_P (_r)) \
_ftrapex = 0; \
} \
while (0)