aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/ia64/pthread_spin_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/ia64/pthread_spin_lock.c')
-rw-r--r--nptl/sysdeps/ia64/pthread_spin_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/ia64/pthread_spin_lock.c b/nptl/sysdeps/ia64/pthread_spin_lock.c
index f6b706a..71aaef9 100644
--- a/nptl/sysdeps/ia64/pthread_spin_lock.c
+++ b/nptl/sysdeps/ia64/pthread_spin_lock.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
@@ -29,7 +29,7 @@ pthread_spin_lock (lock)
{
/* Spin without using the atomic instruction. */
do
- __asm __volatile ("" : : : "memory");
+ __asm __volatile ("hint @pause" : : : "memory");
while (*p);
}
return 0;