Skip to content

Commit

Permalink
Reinstate do_console if kernel not provided
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Nov 13, 2016
1 parent 6dd8bea commit f3c7e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ do_start(unsigned long memsize, void (*kernel_entry)(void), unsigned long cpus)
pci_setup();
vgahw_init();

swppal(kernel_entry, &pcb);
swppal(kernel_entry ? kernel_entry : do_console, &pcb);
}

void
Expand Down

0 comments on commit f3c7e44

Please sign in to comment.