mm: fix the MAP_UNINITIALIZED flag
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Jul 2019 23:26:27 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:21 +0000 (19:23 -0700)
commit0bf5f9492389aa8df5c8e38fcb4488802d24504d
tree9c62b75ac595ca7dd1c0e25261c9a1ad08fb69f0
parentc633324e311243586675e732249339685e5d6faa
mm: fix the MAP_UNINITIALIZED flag

We can't expose UAPI symbols differently based on CONFIG_ symbols, as
userspace won't have them available.  Instead always define the flag,
but only respect it based on the config option.

Link: http://lkml.kernel.org/r/20190703122359.18200-2-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/include/uapi/asm/mman.h
include/uapi/asm-generic/mman-common.h
mm/nommu.c