]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - init/main.c
sh: sh5: convert to SPDX identifiers
[linux.git] / init / main.c
index ee147103ba1bae45798b06ba2705a917bc5cc8d6..954d9b6c62c6f40b5937129884c03f4dc3303b0c 100644 (file)
@@ -737,10 +737,6 @@ asmlinkage __visible void __init start_kernel(void)
        arch_post_acpi_subsys_init();
        sfi_init_late();
 
-       if (efi_enabled(EFI_RUNTIME_SERVICES)) {
-               efi_free_boot_services();
-       }
-
        /* Do the rest non-__init'ed, we're now alive */
        arch_call_rest_init();
 }
@@ -1046,12 +1042,12 @@ static void mark_readonly(void)
 {
        if (rodata_enabled) {
                /*
-                * load_module() results in W+X mappings, which are cleaned up
-                * with call_rcu_sched().  Let's make sure that queued work is
+                * load_module() results in W+X mappings, which are cleaned
+                * up with call_rcu().  Let's make sure that queued work is
                 * flushed so that we don't hit false positives looking for
                 * insecure pages which are W+X.
                 */
-               rcu_barrier_sched();
+               rcu_barrier();
                mark_rodata_ro();
                rodata_test();
        } else