]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22a2ed83474d407a4f0dbcd570346b669107b7b8
tree87f2321645e08cdbbd6525f125af4eef69ef0c94
parent985b6fef687c876474c06c198face290c4d6876d
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