The recently added load_kernel() tried to load the kernel again (there already

was a load_kernel() call above). Added a comment that might prevent me from
doing that again...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-21 05:39:36 +00:00
parent a6c27d152d
commit c5b5378a79

View File

@ -88,12 +88,11 @@ main(stage2_args *args)
}
}
// if everything is okay, continue booting
// if everything is okay, continue booting; the kernel
// is already loaded at this point and we definitely
// know our boot volume, too
if (status == B_OK) {
register_boot_file_system(volume);
if (load_kernel(args, volume) < B_OK)
panic("could not load kernel");
load_modules(args, volume);
// ToDo: cleanup, heap_release() etc.