aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/preload.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-12 11:40:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-12 11:40:15 -0700
commit192c028b6ac972df25fd624f94a94d038fbdb66c (patch)
tree4dd9d13ffd239e4d7c61401f892989742c671fa8 /tools/lib/lockdep/preload.c
parentMerge tag 'for_3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-next (diff)
parentLinux 3.14-rc6 (diff)
downloadlinux-dev-192c028b6ac972df25fd624f94a94d038fbdb66c.tar.xz
linux-dev-192c028b6ac972df25fd624f94a94d038fbdb66c.zip
Merge 3.14-rc6 into usb-next
We want the USB fixes in here as well.
Diffstat (limited to 'tools/lib/lockdep/preload.c')
-rw-r--r--tools/lib/lockdep/preload.c2
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__