소스 검색

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