diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-31 04:48:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-08-31 04:48:04 -0400 |
commit | 8192a60a71150b4ee9cc0b2300fb13a6449af24c (patch) | |
tree | c22db28e3e3afd392a629d261114872844d5bb31 /libc | |
parent | ad8e1035c3feb1650640c2cfc995c1f5f917bbc7 (diff) | |
download | uClibc-alpine-8192a60a71150b4ee9cc0b2300fb13a6449af24c.tar.bz2 uClibc-alpine-8192a60a71150b4ee9cc0b2300fb13a6449af24c.tar.xz |
drop last _syscall6 checks
If your arch does not support _syscall6(), it is broken anyways.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/mmap64.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/posix_fadvise.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index 2b10e5710..d0e87afb5 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -17,7 +17,7 @@ /* libc_hidden_proto(mmap) */ -# if !defined __NR_mmap2 || !defined _syscall6 +# if !defined __NR_mmap2 /* * This version is a stub that just chops off everything at the mmap 32 bit diff --git a/libc/sysdeps/linux/common/posix_fadvise.c b/libc/sysdeps/linux/common/posix_fadvise.c index 4fee8e49e..7c43be959 100644 --- a/libc/sysdeps/linux/common/posix_fadvise.c +++ b/libc/sysdeps/linux/common/posix_fadvise.c @@ -23,7 +23,7 @@ int posix_fadvise(int fd, off_t offset, off_t len, int advice) return 0; } -#if defined __UCLIBC_HAS_LFS__ && (!defined __NR_fadvise64_64 || !defined _syscall6) +#if defined __UCLIBC_HAS_LFS__ && !defined __NR_fadvise64_64 strong_alias(posix_fadvise,posix_fadvise64) #endif |