]> granicus.if.org Git - musl/commit
fix POSIX_FADV_DONTNEED/_NOREUSE on s390x
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 20 Feb 2019 18:07:12 +0000 (19:07 +0100)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Mar 2019 15:37:29 +0000 (11:37 -0400)
commit4b125dd408d54487dc8843b9553502aa0c4167f8
tree548fc74ef23bf3c918d7fd1e4dd9257f01774108
parent81221e13f93171508ec6f66f3c9c3ac439c6acd2
fix POSIX_FADV_DONTNEED/_NOREUSE on s390x

On s390x, POSIX_FADV_DONTNEED and POSIX_FADV_NOREUSE have different
values than on all other architectures that Linux supports.

Handle this difference by wrapping their definitions in
include/fcntl.h in #ifdef, so that arch/s390x/bits/fcntl.h can
override them.
arch/s390x/bits/fcntl.h
include/fcntl.h