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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 14:52:53 +0000 (22:52 +0800)
commit632fd2f00cb569f65adc7d2c67282b70a6af8634
treefc7faf1c750e9b42714458c8f3bbc62088d8fcb4
parent63f9fbe469f17deee50491bc293bb3d2843f3e4a
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>
(cherry picked from commit 4a2e034e5cdadde4c712f79bdd57d1455c76a3db)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/include/asm/elf.h