Преглед изворни кода

make sure function is always inlined

Mike Frysinger пре 19 година
родитељ
комит
5f6104b428
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libpthread/linuxthreads/spinlock.h

+ 1 - 1
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.