From: Arnd Bergmann<arnd@xxxxxxxx>
These two architectures each have their own set of MAP_* flags, like
powerpc, mips and others do. In addition, the msync() flags are also
different, here both define the same flags but in a different order.
Finally, alpha also has a custom MADV_DONTNEED flag for madvise.
Make the generic MADV_DONTNEED and MS_* definitions conditional on
them already being defined and then include the common header
header from both architectures, to remove the bulk of the contents.
Signed-off-by: Arnd Bergmann<arnd@xxxxxxxx>
---
arch/alpha/include/uapi/asm/mman.h | 68 +++-----------------------
arch/parisc/include/uapi/asm/mman.h | 66 +------------------------
include/uapi/asm-generic/mman-common.h | 5 ++
3 files changed, 13 insertions(+), 126 deletions(-)