fix powerpc MCL_* mlockall flags in bits/mman.h
authorSzabolcs Nagy <nsz@port70.net>
Sun, 24 Jan 2016 00:18:17 +0000 (00:18 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 00:08:19 +0000 (19:08 -0500)
the definitions didn't match the linux uapi headers.

arch/powerpc/bits/mman.h

index fe8de2b..5320b7d 100644 (file)
@@ -35,8 +35,8 @@
 #define MS_INVALIDATE   2
 #define MS_SYNC         4
 
-#define MCL_CURRENT     1
-#define MCL_FUTURE      2
+#define MCL_CURRENT     0x2000
+#define MCL_FUTURE      0x4000
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define MADV_NORMAL      0