[PATCH] arm64: asm: Explicitly include linux/personality.h in asm/page.h

Catalin Marinas catalin.marinas at arm.com
Thu Jan 28 06:14:26 PST 2016


On Thu, Jan 28, 2016 at 12:44:17PM +0000, Mark Brown wrote:
> On Thu, Jan 28, 2016 at 12:18:28PM +0000, Mark Brown wrote:
> > 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.
> 
> Argh, sorry - this causes problems further down the line with linking
> vdso.lds due to enums getting into the linker script and upsetting the
> linker (there are several compile errors today so it was masked).

You can move the include further down after the #ifndef __ASSEMBLY__

-- 
Catalin



More information about the linux-arm-kernel mailing list