From: Andrew Waterman Date: Tue, 16 Dec 2014 02:10:13 +0000 (-0800) Subject: Remove dependence on machine/syscall.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fbf574543fe76c2ca75c9a524782449d8ff135a;p=riscv-tests.git Remove dependence on machine/syscall.h --- diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c index 1e4efab..c8688eb 100644 --- a/benchmarks/common/syscalls.c +++ b/benchmarks/common/syscalls.c @@ -3,9 +3,10 @@ #include #include #include -#include #include "util.h" +#define SYS_write 64 +#define SYS_exit 93 #define SYS_stats 1234 // initialized in crt.S