From 2f6f3dccb447ef68057e6a29cf6290367b00391e Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 24 Jan 2016 00:18:17 +0000 Subject: [PATCH] fix powerpc MCL_* mlockall flags in bits/mman.h the definitions didn't match the linux uapi headers. --- arch/powerpc/bits/mman.h | 4 ++-- 1 file 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 -- 2.25.1