summaryrefslogtreecommitdiff
path: root/sysdeps/ia32/bits/spin-lock-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia32/bits/spin-lock-inline.h')
-rw-r--r--sysdeps/ia32/bits/spin-lock-inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ia32/bits/spin-lock-inline.h b/sysdeps/ia32/bits/spin-lock-inline.h
index 0f3ca581..e5ed3def 100644
--- a/sysdeps/ia32/bits/spin-lock-inline.h
+++ b/sysdeps/ia32/bits/spin-lock-inline.h
@@ -1,5 +1,5 @@
/* Machine-specific definitions for spin locks. i386 version.
- Copyright (C) 2000, 2005, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2005, 2008, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -54,7 +54,7 @@ __PT_SPIN_INLINE int __pthread_spin_init (__pthread_spinlock_t *__lock,
__PT_SPIN_INLINE int
__pthread_spin_init (__pthread_spinlock_t *__lock, int __pshared)
{
- *__lock = __SPIN_LOCK_INITIALIZER;
+ *__lock = __PTHREAD_SPIN_LOCK_INITIALIZER;
return 0;
}