summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2020-10-12 09:50:51 +0300
committerHelge Deller <deller@gmx.de>2020-10-15 09:10:39 +0300
commit4a770b413fe91d5d271e29a50a1f23cf189b4d2e (patch)
tree22a111280b0c2c34beaa9e0596ed6beff4dbebd5 /tools/arch
parentf173e3a751708b7f5e0b77dcdd4ac3c2287b735e (diff)
downloadlinux-4a770b413fe91d5d271e29a50a1f23cf189b4d2e.tar.xz
parisc: Add MAP_UNINITIALIZED define
We will not allow unitialized anon mmaps, but we need this define to prevent build errors, e.g. the debian foot package. Suggested-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/arch')
-rw-r--r--tools/arch/parisc/include/uapi/asm/mman.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/arch/parisc/include/uapi/asm/mman.h b/tools/arch/parisc/include/uapi/asm/mman.h
index f9fd1325f5bd..506c06a6536f 100644
--- a/tools/arch/parisc/include/uapi/asm/mman.h
+++ b/tools/arch/parisc/include/uapi/asm/mman.h
@@ -39,6 +39,5 @@
#define MADV_SOFT_OFFLINE 101
/* MAP_32BIT is undefined on parisc, fix it for perf */
#define MAP_32BIT 0
-/* MAP_UNINITIALIZED is undefined on parisc, fix it for perf */
#define MAP_UNINITIALIZED 0
#endif