arm64: alternatives: add enable parameter to conditional asm macros
authorWill Deacon <will.deacon@arm.com>
Thu, 23 Jul 2015 12:51:46 +0000 (13:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:41 +0000 (11:08 +0100)
commit77ee306c0aea9a219daec256ad25982944affef8
tree87f2321645e08cdbbd6525f125af4eef69ef0c94
parent338d4f49d6f7114a017d294ccf7374df4f998edc
arm64: alternatives: add enable parameter to conditional asm macros

There are cases where we want to compile out both versions of an
alternative code block, so add an enable parameter to the new conditional
alternative assembly macros in the same way as alternative_insn.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/alternative.h