From: Szabolcs Nagy Date: Sun, 24 Jan 2016 00:18:17 +0000 (+0000) Subject: fix powerpc MCL_* mlockall flags in bits/mman.h X-Git-Tag: v1.1.13~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f6f3dccb447ef68057e6a29cf6290367b00391e;p=oweals%2Fmusl.git fix powerpc MCL_* mlockall flags in bits/mman.h the definitions didn't match the linux uapi headers. --- 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