diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bootstrap/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bootstrap/common.c b/lib/bootstrap/common.c index 38ec272129..4a61992179 100644 --- a/lib/bootstrap/common.c +++ b/lib/bootstrap/common.c @@ -9,7 +9,7 @@ #include <bootstrap.h> #include <filetype.h> -void bootstrap_boot(int (*func)(void), bool barebox) +void bootstrap_boot(kernel_entry_func func, bool barebox) { if (!func) return; @@ -18,7 +18,7 @@ void bootstrap_boot(int (*func)(void), bool barebox) return; shutdown_barebox(); - func(); + func(0, 0, NULL); while (1); } |