From 5afc6b9bc2e3685220cffb3da66ad9f5f1f7b14f Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 6 Nov 2014 18:17:42 -0800 Subject: Fix build with riscv-gcc version 4.9 --- benchmarks/common/syscalls.c | 1 + 1 file changed, 1 insertion(+) (limited to 'benchmarks/common') diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c index e9f04e2..7be2b53 100644 --- a/benchmarks/common/syscalls.c +++ b/benchmarks/common/syscalls.c @@ -106,6 +106,7 @@ static long syscall(long num, long arg0, long arg1, long arg2) void exit(int code) { syscall(SYS_exit, code, 0, 0); + while (1); } void setStats(int enable) -- cgit v1.1