diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2015-07-22 12:21:01 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-07-27 11:08:40 +0100 |
commit | 63e40815f02584ba8174e0f6af40924b2b335cae (patch) | |
tree | da38a80614dd8913464ae5bb86b712400f3624fd /arch/arm64/mm/cache.S | |
parent | 79b0e09a3c9bd74ee54582efdb351179d7c00351 (diff) | |
download | op-kernel-dev-63e40815f02584ba8174e0f6af40924b2b335cae.zip op-kernel-dev-63e40815f02584ba8174e0f6af40924b2b335cae.tar.gz |
arm64: alternative: Provide if/else/endif assembler macros
The existing alternative_insn macro has some limitations that make it
hard to work with. In particular the fact it takes instructions from it
own macro arguments means it doesn't play very nicely with C pre-processor
macros because the macro arguments look like a string to the C
pre-processor. Workarounds are (probably) possible but things start to
look ugly.
Introduce an alternative set of macros that allows instructions to be
presented to the assembler as normal and switch everything over to the
new macros.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm/cache.S')
0 files changed, 0 insertions, 0 deletions