瀏覽代碼

add missing powerpc specific PROT_SAO memory protection flag

this flag for strong access ordering was added in linux v2.6.27
commit aba46c5027cb59d98052231b36efcbbde9c77a1d
Szabolcs Nagy 9 年之前
父節點
當前提交
f9c3a2e048
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/powerpc/bits/mman.h

+ 1 - 0
arch/powerpc/bits/mman.h

@@ -4,6 +4,7 @@
 #define	PROT_READ      1
 #define	PROT_WRITE     2
 #define	PROT_EXEC      4
+#define	PROT_SAO       0x10
 #define	PROT_GROWSDOWN 0x01000000
 #define	PROT_GROWSUP   0x02000000