2004-03-24 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 25 Mar 2004 03:53:49 +0000 (03:53 +0000)
committerroland <roland>
Thu, 25 Mar 2004 03:53:49 +0000 (03:53 +0000)
* sysdeps/i386/pthread_spin_lock.c (pthread_spin_lock): Use "m"
constraint instead of "0".

nptl/sysdeps/i386/pthread_spin_lock.c

index f001fba..b41174e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2003,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -43,7 +43,7 @@ pthread_spin_lock (lock)
        "jmp 2b\n\t"
        ".previous"
        : "=m" (*lock)
-       : "0" (*lock));
+       : "m" (*lock));
 
   return 0;
 }