about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-18 11:56:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-18 11:56:21 +0000
commitf051627fadac5986cb21829c1083a819d4310489 (patch)
treef6d0a6c8fa57b4fd523c58bd184beb7a3ebd6459 /nptl
parentd7913e0e256e842a3ff43b1a0854b351f585645d (diff)
downloadglibc-f051627fadac5986cb21829c1083a819d4310489.tar.gz
glibc-f051627fadac5986cb21829c1083a819d4310489.tar.xz
glibc-f051627fadac5986cb21829c1083a819d4310489.zip
Update.
2002-12-18  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
	Use it instead of directly int $0x80.
	* sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
	* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index c8819b243e..33567460ec 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
 2002-12-18  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use ENTER_KERNEL
+	macro instead of using int $0x80 directly.
+
 	* sysdeps/pthread/bits/stdio-lock.h: New file.
 	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: New file.
 	* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: New file.
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
index 82b9ec8b0c..9a3cb04d73 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
@@ -41,7 +41,7 @@
     PUSHARGS_##args							      \
     DOCARGS_##args							      \
     movl $SYS_ify (syscall_name), %eax;					      \
-    int $0x80								      \
+    ENTER_KERNEL							      \
     POPARGS_##args;							      \
     POPCARGS_##args							      \
     cmpl $-4095, %eax;							      \