From e9f1c7981ae00ad25d59018c1df26897e2effdad Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 18 Mar 2016 00:57:52 +0000 Subject: 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. --- arch/generic/bits/mman.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 arch/generic/bits/mman.h (limited to 'arch/generic') diff --git a/arch/generic/bits/mman.h b/arch/generic/bits/mman.h new file mode 100644 index 00000000..e69de29b -- cgit 1.4.1