arm64: make asm/elf.h available to asm files
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 11 Jan 2016 16:08:26 +0000 (17:08 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Feb 2016 14:57:25 +0000 (14:57 +0000)
commit4a2e034e5cdadde4c712f79bdd57d1455c76a3db
treec6741d813974a8c486f211fae6f7f4aeddecafaa
parent2bf31a4a05f5b00f37d65ba029d36a0230286cb7
arm64: make asm/elf.h available to asm files

This reshuffles some code in asm/elf.h and puts a #ifndef __ASSEMBLY__
around its C definitions so that the CPP defines can be used in asm
source files as well.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/elf.h