]> Git Repo - linux.git/commitdiff
arm64: asm: Explicitly include linux/personality.h in asm/page.h
authorMark Brown <[email protected]>
Thu, 28 Jan 2016 12:18:28 +0000 (12:18 +0000)
committerWill Deacon <[email protected]>
Wed, 3 Feb 2016 19:22:02 +0000 (19:22 +0000)
asm/page.h uses READ_IMPLIES_EXEC from linux/personality.h but does not
explicitly include it causing build failures in -next where whatever was
causing it to be implicitly included has changed to remove that
inclusion.  Add an explicit inclusion to fix this.

Signed-off-by: Mark Brown <[email protected]>
[will: moved #include inside #ifndef __ASSEMBLY__ block]
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/include/asm/page.h

index 9b2f5a9d019df493fa6021ee3ca6b4779401d8c4..ae615b9d9a551bab47bb4900e867c8d15db02bb1 100644 (file)
@@ -39,6 +39,7 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/personality.h> /* for READ_IMPLIES_EXEC */
 #include <asm/pgtable-types.h>
 
 extern void __cpu_clear_user_page(void *p, unsigned long user);
This page took 0.052748 seconds and 4 git commands to generate.