Browse Source

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

the definitions didn't match the linux uapi headers.
Szabolcs Nagy 9 năm trước cách đây
mục cha
commit
2f6f3dccb4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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