[PATCH v7 0/9] ARM: VDSO
From: Nathan Lynch <hidden>
Date: 2014-06-30 18:27:11
On 06/30/2014 02:43 AM, Arnd Bergmann wrote:
On Saturday 28 June 2014 10:42:19 Russell King - ARM Linux wrote:quoted
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.