diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2015-07-17 13:25:44 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2015-09-23 16:15:35 -0700 |
commit | fa6e2af3a888c47d4d6a71a4f0a16785e3bb2ba3 (patch) | |
tree | 5bdbb9f4bb612f632ff9816fb0ea4a63d8a5d43a | |
parent | 7fa3281e0cc5f91746acd5b752d489c1ed1cfe17 (diff) |
arm64: alternative: Remove alternative_insn macrodev/arm64_nix_assembler_macros
This macro has been superceded by the alterntive_if_not/else/endif
macro family and is no longer used anywhere in the kernel. Remove it.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r-- | arch/arm64/include/asm/alternative.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm64/include/asm/alternative.h b/arch/arm64/include/asm/alternative.h index d56ec0715157..eea774ba2bb9 100644 --- a/arch/arm64/include/asm/alternative.h +++ b/arch/arm64/include/asm/alternative.h @@ -72,20 +72,6 @@ void free_alternatives_memory(void); .byte \alt_len .endm -.macro alternative_insn insn1, insn2, cap, enable = 1 - .if \enable -661: \insn1 -662: .pushsection .altinstructions, "a" - altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f - .popsection - .pushsection .altinstr_replacement, "ax" -663: \insn2 -664: .popsection - .org . - (664b-663b) + (662b-661b) - .org . - (662b-661b) + (664b-663b) - .endif -.endm - /* * Begin an alternative code sequence. * |