From 3dd27f3aabf03b109c30648c3f7a209302deee7f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Jul 2016 13:32:35 -0400 Subject: 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. --- arch/powerpc/syscall_arch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc') diff --git a/arch/powerpc/syscall_arch.h b/arch/powerpc/syscall_arch.h index e7cb1a26..004060e6 100644 --- a/arch/powerpc/syscall_arch.h +++ b/arch/powerpc/syscall_arch.h @@ -5,3 +5,5 @@ #undef SYSCALL_NO_INLINE #define SYSCALL_NO_INLINE + +#define SYSCALL_FADVISE_6_ARG -- cgit v1.2.1