Fix RV32 handling of syscall arguments
[riscv-tests.git] / benchmarks / common / syscalls.c
index 0975acd44c3f131e47aed65ddf8a0fa319aab4f4..ce6d6535176ca80f62900ddd865244c2a5b22252 100644 (file)
@@ -66,7 +66,7 @@ void tohost_exit(long code)
   while (1);
 }
 
-long handle_trap(long cause, long epc, long long regs[32])
+long handle_trap(long cause, long epc, long regs[32])
 {
   int* csr_insn;
   asm ("jal %0, 1f; csrr a0, stats; 1:" : "=r"(csr_insn));