summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 03:00:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 03:00:39 +0000
commit5f6104b428134ac8493849a42abae5a0602b8c29 (patch)
tree33e61306b5f227d0c6f6570422c78303caaac07e
parentd09b3bac47821a498d870797d0c6f49a20c9c189 (diff)
make sure function is always inlined
-rw-r--r--libpthread/linuxthreads/spinlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/spinlock.h b/libpthread/linuxthreads/spinlock.h
index 0ec40c57c..ff96fc336 100644
--- a/libpthread/linuxthreads/spinlock.h
+++ b/libpthread/linuxthreads/spinlock.h
@@ -196,7 +196,7 @@ static inline long atomic_decrement(struct pthread_atomic *pa)
}
-static inline void
+static inline __attribute__((always_inline)) void
__pthread_set_own_extricate_if (pthread_descr self, pthread_extricate_if *peif)
{
/* Only store a non-null peif if the thread has cancellation enabled.