arm64: add __ASSEMBLY__ in asm/insn.h
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 30 Apr 2014 09:54:30 +0000 (10:54 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 29 May 2014 08:04:31 +0000 (09:04 +0100)
commit26e9b83a7d3e9dbe276301b637f65321bdd0939b
tree19aee72866e30f2f5b21826b8def8d5dee09e17a
parent2eb8b396dc6ecf797925cc6bad4c0c6dfbdf4d44
arm64: add __ASSEMBLY__ in asm/insn.h

Since insn.h is indirectly included in asm/entry-ftrace.S,
we need to exclude some declarations by __ASSEMBLY__.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/insn.h