]> Git Repo - uclibc-ng.git/commitdiff
riscv: add the MAP_UNINITIALIZED definition
authorChristoph Hellwig <[email protected]>
Mon, 24 Jun 2019 13:37:37 +0000 (06:37 -0700)
committerWaldemar Brodkorb <[email protected]>
Fri, 5 Jul 2019 12:47:20 +0000 (14:47 +0200)
This avoids a nommu build failure.

Signed-off-by: Christoph Hellwig <[email protected]>
libc/sysdeps/linux/riscv64/bits/mman.h

index 316f87d99174fcba87e7a242c0865a20b9fa351a..fa6f8e6a038daaed7681305bbf9c9eaae3f16fa1 100644 (file)
@@ -31,6 +31,7 @@
 # define MAP_HUGETLB   0x40000         /* Create huge page mapping.  */
 # define MAP_SYNC      0x80000         /* Perform synchronous page
                                           faults for the mapping.  */
+# define MAP_UNINITIALIZED 0x4000000    /* For anonymous mmap, memory could -                                             be uninitialized.  */
 #endif
 
 /* Include generic Linux declarations.  */
This page took 0.028641 seconds and 4 git commands to generate.