summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-01-24 00:18:17 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-24 19:08:19 -0500
commit2f6f3dccb447ef68057e6a29cf6290367b00391e (patch)
tree3c094ebde4e3bfffacde3e2a87021126fc6af268 /arch/powerpc
parent2d14fa39b0e3c957ad4f7def033e40ea431ffcfb (diff)
downloadmusl-2f6f3dccb447ef68057e6a29cf6290367b00391e.tar.gz
musl-2f6f3dccb447ef68057e6a29cf6290367b00391e.tar.bz2
musl-2f6f3dccb447ef68057e6a29cf6290367b00391e.tar.xz
musl-2f6f3dccb447ef68057e6a29cf6290367b00391e.zip
fix powerpc MCL_* mlockall flags in bits/mman.h
the definitions didn't match the linux uapi headers.
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/bits/mman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index fe8de2b9..5320b7d7 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -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