From fd9b3c38de9da0c02317282d87c287c4b03aa54b Mon Sep 17 00:00:00 2001 From: mintsuki Date: Thu, 28 Sep 2023 04:19:17 -0500 Subject: [PATCH] smp: riscv64: Replace .insn directive with .4byte --- common/sys/smp_trampoline.asm_riscv64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/sys/smp_trampoline.asm_riscv64 b/common/sys/smp_trampoline.asm_riscv64 index 0ce8d8b3..98f09824 100644 --- a/common/sys/smp_trampoline.asm_riscv64 +++ b/common/sys/smp_trampoline.asm_riscv64 @@ -54,7 +54,7 @@ smp_trampoline_start: csrw stvec, zero // Wait for kernel to tell us where to go. -0: .insn i 0x0F, 0, x0, x0, 0x010 // pause +0: .4byte 0x0100000f // pause ld t0, 24(a0) fence r, rw beqz t0, 0b