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()
This commit is contained in:
Linus Torvalds 2017-11-26 13:36:54 -08:00
commit cd4b5d5d27
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ static __init int jump_label_test(void)
return 0; return 0;
} }
late_initcall(jump_label_test); early_initcall(jump_label_test);
#endif /* STATIC_KEYS_SELFTEST */ #endif /* STATIC_KEYS_SELFTEST */
#endif /* HAVE_JUMP_LABEL */ #endif /* HAVE_JUMP_LABEL */