-
由 Brendan Higgins 提交于
Although we have not seen any actual examples where KUnit doesn't work because it runs in the late init phase of the kernel, it has been a concern for some time that this could potentially be an issue in the future. So, remove KUnit from init calls entirely, instead call directly from kernel_init() so that KUnit runs after late init. Co-developed-by: NAlan Maguire <alan.maguire@oracle.com> Signed-off-by: NAlan Maguire <alan.maguire@oracle.com> Signed-off-by: NBrendan Higgins <brendanhiggins@google.com> Reviewed-by: NStephen Boyd <sboyd@kernel.org> Reviewed-by: NKees Cook <keescook@chromium.org> Reviewed-by: NLuis Chamberlain <mcgrof@kernel.org> Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
8c0d8849