Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools/liblockdep: Fix initialization code path

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>

authored by

Ira W. Snyder and committed by
Sasha Levin
367d896d 38dbfb59

+1 -1
+1 -1
tools/lib/lockdep/preload.c
··· 418 418 419 419 __attribute__((constructor)) static void init_preload(void) 420 420 { 421 - if (__init_state != done) 421 + if (__init_state == done) 422 422 return; 423 423 424 424 #ifndef __GLIBC__