From acd889e89c8f043f74af96a3f060db777f821ee3 Mon Sep 17 00:00:00 2001 From: Youduo Liu <144808657+liuyd-dev@users.noreply.github.com> Date: Fri, 29 Mar 2024 08:34:22 +0800 Subject: [PATCH] am,platform,nemu: fix typo in preprocessor directive --- am/src/platform/nemu/include/nemu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/am/src/platform/nemu/include/nemu.h b/am/src/platform/nemu/include/nemu.h index 0030772..cbd952c 100644 --- a/am/src/platform/nemu/include/nemu.h +++ b/am/src/platform/nemu/include/nemu.h @@ -14,7 +14,7 @@ # define nemu_trap(code) asm volatile("mv a0, %0; ebreak" : :"r"(code)) #elif defined(__ISA_LOONGARCH32R__) # define nemu_trap(code) asm volatile("move $a0, %0; break 0" : :"r"(code)) -#elif +#else # error unsupported ISA __ISA__ #endif