]> asedeno.scripts.mit.edu Git - linux.git/commit
Revert "arm64: alternatives: add enable parameter to conditional asm macros"
authorAndre Przywara <andre.przywara@arm.com>
Tue, 28 Jun 2016 17:07:27 +0000 (18:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 1 Jul 2016 10:26:15 +0000 (11:26 +0100)
commitb82bfa4793cd0f8fde49b85e0ad66906682e7447
tree2d49d6c344ce0b061fe08169b835902ec47c2630
parent6c5269f33e96722f3e20dc694fba636cc1d4b3eb
Revert "arm64: alternatives: add enable parameter to conditional asm macros"

Commit 77ee306c0aea9 ("arm64: alternatives: add enable parameter to
conditional asm macros") extended the alternative assembly macros.
Unfortunately this does not really work as one would expect, as the
enable parameter in fact correctly protects the alternative section
magic, but not the actual code sequences.
This results in having both the original instruction(s) _and_  the
alternative ones, if enable if false.
Since there is no user of this macros anyway, just revert it.

This reverts commit 77ee306c0aea9a219daec256ad25982944affef8.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/alternative.h