]> git.baikalelectronics.ru Git - kernel.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)
commite486c0f2143363c2ff041b786679b5ca2ba6b0db
tree2d49d6c344ce0b061fe08169b835902ec47c2630
parent0cb2fc33c2b7b5feece63eb91bf9cbf995213a73
Revert "arm64: alternatives: add enable parameter to conditional asm macros"

Commit 22a2ed83474d4 ("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 22a2ed83474d407a4f0dbcd570346b669107b7b8.

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