We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa7d50 commit 6b289a3Copy full SHA for 6b289a3
arch/riscv/kernel/head.S
@@ -289,10 +289,6 @@ clear_bss:
289
blt a3, a4, clear_bss
290
clear_bss_done:
291
#endif
292
- /* Save hart ID and DTB physical address */
293
- mv s0, a0
294
- mv s1, a1
295
-
296
la a2, boot_cpu_hartid
297
XIP_FIXUP_OFFSET a2
298
REG_S a0, (a2)
@@ -306,7 +302,7 @@ clear_bss_done:
306
302
la a0, __dtb_start
307
303
XIP_FIXUP_OFFSET a0
308
304
#else
309
- mv a0, s1
305
+ mv a0, a1
310
#endif /* CONFIG_BUILTIN_DTB */
311
call setup_vm
312
#ifdef CONFIG_MMU
0 commit comments