projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d14fa3
)
fix powerpc MCL_* mlockall flags in bits/mman.h
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 24 Jan 2016 00:18:17 +0000
(
00:18
+0000)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/bits/mman.h
b/arch/powerpc/bits/mman.h
index fe8de2b9d6a35cee2244852af2f4802dfe5896bf..5320b7d7e67105b0cf113a3bb1f3934df4000858 100644
(file)
--- 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