projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
tools/liblockdep: Fix initialization code path
author
Ira W. Snyder
<iws@ovro.caltech.edu>
Fri, 31 Jan 2014 23:30:54 +0000
(15:30 -0800)
committer
Sasha Levin
<sasha.levin@oracle.com>
Thu, 27 Feb 2014 02:21:49 +0000
(21:21 -0500)
This makes initialization actually happen. Without it, initialization is
always skipped due to an incorrect conditional statement.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
tools/lib/lockdep/preload.c
patch
|
blob
|
history
diff --git
a/tools/lib/lockdep/preload.c
b/tools/lib/lockdep/preload.c
index
f8465a8
..
23bd69c
100644
(file)
--- 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__