aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/common')
-rw-r--r--benchmarks/common/syscalls.c1
1 files changed, 1 insertions, 0 deletions
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)