summary refs log tree commit diff
path: root/nptl/sysdeps/i386/pthread_spin_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/i386/pthread_spin_lock.c')
-rw-r--r--nptl/sysdeps/i386/pthread_spin_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/i386/pthread_spin_lock.c b/nptl/sysdeps/i386/pthread_spin_lock.c
index f001fbacab..b41174e5f2 100644
--- a/nptl/sysdeps/i386/pthread_spin_lock.c
+++ b/nptl/sysdeps/i386/pthread_spin_lock.c
@@ -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;
 }