common: Move hang() to the same header as panic()
[oweals/u-boot.git] / arch / riscv / lib / bootm.c
index efbd3e23e7a570e3f693eca1645118ebb9c7277f..fad16901c5f2a032019b5a73d412aa9b510b6f45 100644 (file)
@@ -9,6 +9,8 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
+#include <fdt_support.h>
+#include <hang.h>
 #include <dm/root.h>
 #include <image.h>
 #include <asm/byteorder.h>
@@ -99,7 +101,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
                if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) {
 #ifdef CONFIG_SMP
                        ret = smp_call_function(images->ep,
-                                               (ulong)images->ft_addr, 0);
+                                               (ulong)images->ft_addr, 0, 0);
                        if (ret)
                                hang();
 #endif