From: Mark Brown Date: Thu, 28 Jan 2016 12:18:28 +0000 (+0000) Subject: arm64: asm: Explicitly include linux/personality.h in asm/page.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e275c64a973ba1554ef87f76c9f0f5b5221ab14;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: asm: Explicitly include linux/personality.h in asm/page.h 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 [will: moved #include inside #ifndef __ASSEMBLY__ block] Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/page.h b/arch/arm64/include/asm/page.h index 9b2f5a9d019d..ae615b9d9a55 100644 --- a/arch/arm64/include/asm/page.h +++ b/arch/arm64/include/asm/page.h @@ -39,6 +39,7 @@ #ifndef __ASSEMBLY__ +#include /* for READ_IMPLIES_EXEC */ #include extern void __cpu_clear_user_page(void *p, unsigned long user);