summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/mips/boot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c
index 2ac50b3183..c09af0539a 100644
--- a/src/arch/mips/boot.c
+++ b/src/arch/mips/boot.c
@@ -22,5 +22,8 @@
void arch_prog_run(struct prog *prog)
{
- stage_exit(prog_entry(prog));
+ void *cb_tables = prog_entry_arg(prog);
+ void (*doit)(void *) = prog_entry(prog);
+
+ doit(cb_tables);
}