diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-06-18 15:52:41 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-06-18 15:52:41 +0000 |
commit | 43ee769f540704ccfc4e2a12ba11ed4b6eece196 (patch) | |
tree | 59e0fec96510e3f8c2cdb6dacbfb3031058ed092 /libc/sysdeps/linux/mips/cacheflush.c | |
parent | 80ee234a186cf81220a37cd561fb8c91f9e9cadc (diff) | |
download | uClibc-alpine-43ee769f540704ccfc4e2a12ba11ed4b6eece196.tar.bz2 uClibc-alpine-43ee769f540704ccfc4e2a12ba11ed4b6eece196.tar.xz |
Synch libc mips specific with trunk
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 |