ARM: 8329/1: miscellaneous vdso infrastructure, preparation
authorNathan Lynch <nathan_lynch@mentor.com>
Wed, 25 Mar 2015 18:13:16 +0000 (19:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 27 Mar 2015 22:20:45 +0000 (22:20 +0000)
commit1713ce7c43755fe8b0f31ea317513129bf784909
treef082086f181ac7ce03324da1d9e2b629c08f6518
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: 8329/1: miscellaneous vdso infrastructure, preparation

Define the layout of the data structure shared between kernel and
userspace.

Track the vdso address in the mm_context; needed for communicating
AT_SYSINFO_EHDR to the ELF loader.

Add declarations for arm_install_vdso; implementation is in a
following patch.

Define AT_SYSINFO_EHDR, and, if CONFIG_VDSO=y, report the vdso shared
object address via the ELF auxiliary vector.

Note - this adds the AT_SYSINFO_EHDR in a new user-visible header
asm/auxvec.h; this is consistent with other architectures.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/Kbuild
arch/arm/include/asm/auxvec.h [new file with mode: 0644]
arch/arm/include/asm/elf.h
arch/arm/include/asm/mmu.h
arch/arm/include/asm/vdso.h [new file with mode: 0644]
arch/arm/include/asm/vdso_datapage.h [new file with mode: 0644]
arch/arm/include/uapi/asm/Kbuild
arch/arm/include/uapi/asm/auxvec.h [new file with mode: 0644]