aboutsummaryrefslogtreecommitdiff
path: root/src/fcntl/arm/posix_fadvise.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix posix_fadvise syscall args on powerpc, unify with arm fixRich Felker2016-07-011-12/+0
| | | | | | | | | 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.
* fix misordered syscall arguments for posix_fadvise on armRich Felker2016-06-291-0/+12
the arm version of the syscall has a custom argument ordering to avoid needing a 7-argument syscall due to 64-bit argument alignment.