aboutsummaryrefslogtreecommitdiff
path: root/arch/generic
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-03-18 00:57:52 +0000
committerRich Felker <dalias@aerifal.cx>2016-03-18 22:40:28 -0400
commite9f1c7981ae00ad25d59018c1df26897e2effdad (patch)
treec42a756e09b9ccb21497bf88fb3e50cc90fe8379 /arch/generic
parent4aac019a0efd59011a48d031ad046c934c7e8365 (diff)
downloadmusl-e9f1c7981ae00ad25d59018c1df26897e2effdad.zip
musl-e9f1c7981ae00ad25d59018c1df26897e2effdad.tar.gz
musl-e9f1c7981ae00ad25d59018c1df26897e2effdad.tar.bz2
deduplicate bits/mman.h
currently five targets use the same mman.h constants and the rest share most constants too, so move them to sys/mman.h before the bits/mman.h include where the differences can be corrected by redefinition of the macros. this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most targets (it should be the same as MADV_DONTNEED), and sh defined the x86-only MAP_32BIT mmap flag.
Diffstat (limited to 'arch/generic')
-rw-r--r--arch/generic/bits/mman.h0
1 files changed, 0 insertions, 0 deletions
diff --git a/arch/generic/bits/mman.h b/arch/generic/bits/mman.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/arch/generic/bits/mman.h