about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-29 03:14:29 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-29 03:14:29 +0000
commit1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2 (patch)
treed35cda3ed1555f05ab80315be6729227cf1c3ec7 /sysdeps
parent6cf26f4168aef852d7fa4106b59af1a7fc40c650 (diff)
downloadglibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.tar.gz
glibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.tar.xz
glibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.zip
Update.
2003-01-28  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
	(__fe_nomask_env): Change __prctl call to INLINE_SYSCALL.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
index 7e5cb5d2f4..6343c54b2d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
@@ -19,12 +19,14 @@
 
 #include <fenv.h>
 #include <errno.h>
+#include <sysdep.h>
+#include <sys/syscall.h>
 #include <sys/prctl.h>
 
 const fenv_t *
 __fe_nomask_env (void)
 {
-  __prctl (PR_SET_FPEXC, PR_FP_EXC_PRECISE);
+  INLINE_SYSCALL (prctl, 2, PR_SET_FPEXC, PR_FP_EXC_PRECISE);
 
   return FE_ENABLED_ENV;
 }