projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build with riscv-gcc version 4.9
[riscv-tests.git]
/
benchmarks
/
common
/
syscalls.c
diff --git
a/benchmarks/common/syscalls.c
b/benchmarks/common/syscalls.c
index e9f04e23e5f645449a53362236cd1f44c43f1717..7be2b53c871d9e32c6f6a9fb46739897ab34191e 100644
(file)
--- 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)