diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-07-01 13:32:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-07-01 13:32:35 -0400 |
commit | 3dd27f3aabf03b109c30648c3f7a209302deee7f (patch) | |
tree | 34358a549cba25f030303c9001bbdb7c81970394 /arch/arm | |
parent | 3d98146146dbe138b380ea7d7f9b93139d768828 (diff) | |
download | musl-3dd27f3aabf03b109c30648c3f7a209302deee7f.tar.gz musl-3dd27f3aabf03b109c30648c3f7a209302deee7f.tar.bz2 musl-3dd27f3aabf03b109c30648c3f7a209302deee7f.tar.xz musl-3dd27f3aabf03b109c30648c3f7a209302deee7f.zip |
fix posix_fadvise syscall args on powerpc, unify with arm fix
commit 6d38c9cf80f47623e5e48190046673bbd0dc410b provided an
arm-specific version of posix_fadvise to address the alternate
argument order the kernel expects on arm, but neglected to address
that powerpc (32-bit) has the same issue. instead of having arch
variant files in duplicate, simply put the alternate version in the
top-level file under the control of a macro defined in syscall_arch.h.
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/syscall_arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/syscall_arch.h b/arch/arm/syscall_arch.h index 64461ec8..6023303b 100644 --- a/arch/arm/syscall_arch.h +++ b/arch/arm/syscall_arch.h @@ -76,3 +76,5 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo #define VDSO_USEFUL #define VDSO_CGT_SYM "__vdso_clock_gettime" #define VDSO_CGT_VER "LINUX_2.6" + +#define SYSCALL_FADVISE_6_ARG |