diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-07-04 14:44:04 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-05 11:06:33 +0100 |
commit | c87857945b0e61c46222798b56fb1b0f4868088b (patch) | |
tree | cb5b91fb0084cc832c691fe248531b8ed7aae099 /arch/arm64/include/asm/assembler.h | |
parent | e21a712a9685488f5ce80495b37b9fdbe96c230d (diff) | |
download | linux-stable-c87857945b0e61c46222798b56fb1b0f4868088b.tar.gz linux-stable-c87857945b0e61c46222798b56fb1b0f4868088b.tar.bz2 linux-stable-c87857945b0e61c46222798b56fb1b0f4868088b.zip |
arm64: Remove unused assembly macro
As of commit 4141c857fd09dbed480f021b3eece4f46c653161 ("arm64: convert
raw syscall invocation to C"), moving syscall handling from assembly to
C, the macro mask_nospec64 is no longer referenced.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
-rw-r--r-- | arch/arm64/include/asm/assembler.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index e3a15c751b13..9f7395a1177f 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -124,17 +124,6 @@ alternative_endif .endm /* - * Sanitise a 64-bit bounded index wrt speculation, returning zero if out - * of bounds. - */ - .macro mask_nospec64, idx, limit, tmp - sub \tmp, \idx, \limit - bic \tmp, \tmp, \idx - and \idx, \idx, \tmp, asr #63 - csdb - .endm - -/* * NOP sequence */ .macro nops, num |