]> 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)
commit34ce415e03094796320877d2061917ea0d8211b7
tree2d49d6c344ce0b061fe08169b835902ec47c2630
parent14701df8b990112e0b514c02b3015b5539bd8fdc
Revert "arm64: alternatives: add enable parameter to conditional asm macros"

Commit fb8fd70498b61 ("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 fb8fd70498b61ad828868af9009e076ed740cc52.

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