about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 06:52:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 06:52:08 +0000
commitdb5f2fc93df02baf40b08fae9918f30ae83368a3 (patch)
treebec5cbfadc4a4ee0535d03a8973ad0d1a2210b41 /nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
parent6a4263e3d5a6fee74776f3bcad4e53f5257aa5bf (diff)
downloadglibc-db5f2fc93df02baf40b08fae9918f30ae83368a3.tar.gz
glibc-db5f2fc93df02baf40b08fae9918f30ae83368a3.tar.xz
glibc-db5f2fc93df02baf40b08fae9918f30ae83368a3.zip
Update.
	* sysdeps/unix/sysv/linux/x86_64/sem_post.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: New file.

	* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Fix error value in
	unused code.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
index 0747fb19fa..984cb72007 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
@@ -29,7 +29,6 @@
 #define SYS_futex		240
 #define FUTEX_WAKE		1
 
-#define EAGAIN			11
 #define EINVAL			22
 
 
@@ -72,7 +71,7 @@ __new_sem_post:
 	movl	$EINVAL, (%edx)
 #else
 	call	__errno_location@plt
-	movl	$EAGAIN, (%eax)
+	movl	$EINVAL, (%eax)
 #endif
 
 	orl	$-1, %eax