aboutsummaryrefslogtreecommitdiff
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
parent6cf26f4168aef852d7fa4106b59af1a7fc40c650 (diff)
downloadglibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.tar
glibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.tar.gz
glibc-1e49399dbe6abfaa6dcdbe3c8a6004e0efece1c2.tar.bz2
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f5a8699e6c..a8b7f68d1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
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;
}