Unifying the Lunaix's Physical Memory Model (#28)
[lunaix-os.git] / lunaix-os / kernel / lunad.c
index 99cd066927dc9e8b9fc6f19d556f9b077204d064..1f2fb957742567471129e50ccad33319d36f716a 100644 (file)
@@ -57,7 +57,7 @@ static void
 lunad_do_usr() {
     // No, these are not preemptive
     cpu_disable_interrupt();
-    
+
     if (!mount_bootmedium() || !exec_initd()) {
         fail("failed to initd");
     }
@@ -74,12 +74,6 @@ lunad_do_usr() {
 void _preemptible
 lunad_main()
 {
-    /*
-     * We must defer boot code/data cleaning to here, after we successfully
-     * escape that area
-     */
-    boot_cleanup();
-
     spawn_kthread((ptr_t)init_platform);
 
     /*