diff options
author | Fuad Tabba <tabba@google.com> | 2021-05-24 10:29:50 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-25 20:27:48 +0200 |
commit | 55272ecc3ada8ec947bb5e94ee2fcde6cf31e166 (patch) | |
tree | 0f112acde54dbcb16274cdc10e4f46afc9bdec94 /arch/arm64/include/asm/alternative-macros.h | |
parent | arm64: Downgrade flush_icache_range to invalidate (diff) | |
download | linux-55272ecc3ada8ec947bb5e94ee2fcde6cf31e166.tar.xz linux-55272ecc3ada8ec947bb5e94ee2fcde6cf31e166.zip |
arm64: assembler: remove user_alt
user_alt isn't being used anymore. It's also simpler and clearer
to directly use alternative_insn and _cond_extable in-line when
needed.
Reported-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/linux-arm-kernel/20210520125735.GF17233@C02TD0UTHF1T.local/
Signed-off-by: Fuad Tabba <tabba@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20210524083001.2586635-8-tabba@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/alternative-macros.h')
-rw-r--r-- | arch/arm64/include/asm/alternative-macros.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/alternative-macros.h b/arch/arm64/include/asm/alternative-macros.h index 8a078fc662ac..477703578caa 100644 --- a/arch/arm64/include/asm/alternative-macros.h +++ b/arch/arm64/include/asm/alternative-macros.h @@ -197,11 +197,6 @@ alternative_endif #define _ALTERNATIVE_CFG(insn1, insn2, cap, cfg, ...) \ alternative_insn insn1, insn2, cap, IS_ENABLED(cfg) -.macro user_alt, label, oldinstr, newinstr, cond -9999: alternative_insn "\oldinstr", "\newinstr", \cond - _asm_extable 9999b, \label -.endm - #endif /* __ASSEMBLY__ */ /* |