diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-12-12 06:02:05 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-12-12 06:02:05 +0000 |
commit | 22fdfe080822178e87f890f71df9248624bc27e7 (patch) | |
tree | ef14e37e7247f8da0ac7727ec969ef24a756c836 /libc/sysdeps/linux/mips/cacheflush.c | |
parent | 1712052547231f20041098cd5b793d7241de74c0 (diff) |
sort out a few issues that show up on mips
Diffstat (limited to 'libc/sysdeps/linux/mips/cacheflush.c')
-rw-r--r-- | libc/sysdeps/linux/mips/cacheflush.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <unistd.h> #include <sys/syscall.h> +#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 |