[PATCH v7 0/9] ARM: VDSO

Nathan Lynch Nathan_Lynch at mentor.com
Mon Jun 30 11:27:11 PDT 2014


On 06/30/2014 02:43 AM, Arnd Bergmann wrote:
> On Saturday 28 June 2014 10:42:19 Russell King - ARM Linux wrote:
>> What's happening is if you try and rebuild a kernel with these patches
>> applied, you already have an arch/arm/include/generated/asm/auxvec.h
>> which points at the empty asm-generic version.  This remains after
>> these patches are applied, so the new include of asm/auxvec.h in
>> asm/elf.h picks up on the empty version, not the newly introduced
>> version.
> 
> One more piece of the puzzle: the top-level Makefile always includes
> the headers from the source tree before generated headers, so in theory
> this should not be happening. However, for some reason this ends up
> as arch/arm/include/generated/asm/auxvec.h rather than
> arch/arm/include/generated/uapi/asm/auxvec.h, and the kernel-only
> headers get included before any of the uapi headers.
> 
> An easy workaround would probably be to add an
> arch/arm/include/asm/auxvec.h file that contains only
> 
> #include <uapi/asm/auxvec.h>

Thanks Arnd, that seems to do the trick.




More information about the linux-arm-kernel mailing list