Skip to contentSkip to conversation

static keys fix

GIT PULL Ingo Molnar 1 participant 1 message Nov 26, 2017 Static branch/call

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest locking-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus

# HEAD: 92ee46efeb505ead3ab06d3c5ce695637ed5f152 jump_label: Invoke jump_label_test() via early_initcall()

Fix a boot warning related to bad init ordering of the static keys self-test.

Thanks,

Ingo

------------------>
Jason Baron (1):
jump_label: Invoke jump_label_test() via early_initcall()

 kernel/jump_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/jump_label.c +1 -1
index 8ff4ca4665ff..8594d24e4adc 100644
@@ -769,7 +769,7 @@ static __init int jump_label_test(void)
 
 	return 0;
 }
-late_initcall(jump_label_test);
+early_initcall(jump_label_test);
 #endif /* STATIC_KEYS_SELFTEST */
 
 #endif /* HAVE_JUMP_LABEL */