]> 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)
commitfb8fd70498b61ad828868af9009e076ed740cc52
tree87f2321645e08cdbbd6525f125af4eef69ef0c94
parent6bfdc2859e1642c84361372388c3abae74edf7cc
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