From 22fdfe080822178e87f890f71df9248624bc27e7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 12 Dec 2006 06:02:05 +0000 Subject: sort out a few issues that show up on mips --- libc/sysdeps/linux/mips/cacheflush.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/mips/cacheflush.c') diff --git a/libc/sysdeps/linux/mips/cacheflush.c b/libc/sysdeps/linux/mips/cacheflush.c index cd23e98d0..f99c58171 100644 --- a/libc/sysdeps/linux/mips/cacheflush.c +++ b/libc/sysdeps/linux/mips/cacheflush.c @@ -20,7 +20,11 @@ #include #include +#ifdef __NR_cacheflush _syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op); strong_alias(cacheflush, _flush_cache) -_syscall3(int, cachectl, void *, addr, const int, nbytes, const int, op); +#endif +#ifdef __NR_cachectl +_syscall3(int, cachectl, void *, addr, const int, nbytes, const int, op); +#endif -- cgit v1.2.3