arm64: Move some macros under #ifndef __ASSEMBLY__
authorLaura Abbott <labbott@redhat.com>
Tue, 10 Jan 2017 21:35:47 +0000 (13:35 -0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jan 2017 15:05:39 +0000 (15:05 +0000)
commit9e22eb616f861a25e3123d1221bad61f8f132913
tree43d76c3e2f68efa8765bd21d0318c92604a3268f
parent42d1a731ffee44b16c06df371ffdbb14135c11e3
arm64: Move some macros under #ifndef __ASSEMBLY__

Several macros for various x_to_y exist outside the bounds of an
__ASSEMBLY__ guard. Move them in preparation for support for
CONFIG_DEBUG_VIRTUAL.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/memory.h