summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-26 22:36:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-26 22:36:54 +0100
commitcd4b5d5d2777e8c167f022b46200f1c8504d1ef6 (patch)
tree1627253b867be2bf9ac55c5edb3bc444db9011be /kernel
parentMerge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentjump_label: Invoke jump_label_test() via early_initcall() (diff)
downloadlinux-cd4b5d5d2777e8c167f022b46200f1c8504d1ef6.tar.xz
linux-cd4b5d5d2777e8c167f022b46200f1c8504d1ef6.zip
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull static key fix from Ingo Molnar: "Fix a boot warning related to bad init ordering of the static keys self-test" * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: jump_label: Invoke jump_label_test() via early_initcall()
Diffstat (limited to 'kernel')
-rw-r--r--kernel/jump_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 8ff4ca4665ff..8594d24e4adc 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -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 */