浏览代码

fix powerpc MCL_* mlockall flags in bits/mman.h

the definitions didn't match the linux uapi headers.
Szabolcs Nagy 9 年之前
父节点
当前提交
2f6f3dccb4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/powerpc/bits/mman.h

+ 2 - 2
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