diff options
Diffstat (limited to 'tools/lib/lockdep/preload.c')
| -rw-r--r-- | tools/lib/lockdep/preload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/lockdep/preload.c b/tools/lib/lockdep/preload.c index f8465a811aa5..23bd69cb5ade 100644 --- a/tools/lib/lockdep/preload.c +++ b/tools/lib/lockdep/preload.c | |||
| @@ -418,7 +418,7 @@ int pthread_rwlock_unlock(pthread_rwlock_t *rwlock) | |||
| 418 | 418 | ||
| 419 | __attribute__((constructor)) static void init_preload(void) | 419 | __attribute__((constructor)) static void init_preload(void) |
| 420 | { | 420 | { |
| 421 | if (__init_state != done) | 421 | if (__init_state == done) |
| 422 | return; | 422 | return; |
| 423 | 423 | ||
| 424 | #ifndef __GLIBC__ | 424 | #ifndef __GLIBC__ |
