From: Tomas Henzl <[email protected]>

main.c: fix initcall blacklisted

Ensure that init_rh_check_status gets called
by removing the blacklisted optimisation in our kernels.

Signed-off-by: Tomas Henzl <[email protected]>

diff --git a/init/main.c b/init/main.c
index blahblah..blahblah 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1160,8 +1160,10 @@ static bool __init_or_module 
initcall_blacklisted(initcall_t fn)
        char fn_name[KSYM_SYMBOL_LEN];
        unsigned long addr;
 
+#ifndef CONFIG_RHEL_DIFFERENCES
        if (list_empty(&blacklisted_initcalls))
                return false;
+#endif
 
        addr = (unsigned long) dereference_function_descriptor(fn);
        sprint_symbol_no_offset(fn_name, addr);

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3722

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to