about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-04 05:53:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-04 05:53:24 +0000
commit4e73e1151d457981323a7316861a2493a57dbc6c (patch)
tree0463068f1077177d19586e8251b05c6b8c26ea97 /nptl/sysdeps
parentecb2b2fb8aca5aacdae057257891e426d2f32b2f (diff)
downloadglibc-4e73e1151d457981323a7316861a2493a57dbc6c.tar.gz
glibc-4e73e1151d457981323a7316861a2493a57dbc6c.tar.xz
glibc-4e73e1151d457981323a7316861a2493a57dbc6c.zip
Update.
	* string/test-ffs.c: Also test ffsl and ffsll.

	* sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
index e107ef5975..8e3f46d534 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
@@ -93,7 +93,7 @@
 		       "	bne-	1b\n"				      \
 		       "2:	" __lll_acq_instr			      \
 		       : "=&r" (__val), "=m" (*futex)			      \
-		       : "r" (futex), "r" (1), "1" (*futex)		      \
+		       : "r" (futex), "r" (1), "m" (*futex)		      \
 		       : "cr0", "memory");				      \
      __val;								      \
   })
@@ -110,7 +110,7 @@
 		       "	bne-	1b\n"				      \
 		       "2:	" __lll_acq_instr			      \
 		       : "=&r" (__val), "=m" (*futex)			      \
-		       : "r" (futex), "r" (2), "1" (*futex)		      \
+		       : "r" (futex), "r" (2), "m" (*futex)		      \
 		       : "cr0", "memory");				      \
      __val;								      \
   })