diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-03 22:48:48 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-03 22:48:48 +0400 |
commit | 148b59c60cd4a2745d8f727c2579cffe4a88afd8 (patch) | |
tree | ca8f53b1718b3e76cf4b6b5bf759c8e49028d762 /tools/lib/lockdep/preload.c | |
parent | 7abd42eab3d0a7fcdc01a19c987ef61e7fe451a4 (diff) | |
parent | 9b158f53a8da5394cb48310da9fda80b34c72bbc (diff) | |
download | linux-148b59c60cd4a2745d8f727c2579cffe4a88afd8.tar.xz |
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull liblockdep fixes from Ingo Molnar:
"A handful of build fixes for liblockdep"
* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tools/liblockdep: Use realpath for srctree and objtree
tools/liblockdep: Add a stub for new rcu_is_watching
tools/liblockdep: Mark runtests.sh as executable
tools/liblockdep: Add include directory to allow tests to compile
tools/liblockdep: Fix include of asm/hash.h
tools/liblockdep: Fix initialization code path
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) __attribute__((constructor)) static void init_preload(void) { - if (__init_state != done) + if (__init_state == done) return; #ifndef __GLIBC__ |