[PATCH v7 0/9] ARM: VDSO

Arnd Bergmann arnd at arndb.de
Mon Jun 30 00:43:26 PDT 2014


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>

	Arnd



More information about the linux-arm-kernel mailing list