summaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib/mte.S
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-07-04 18:02:42 +0100
committerWill Deacon <will@kernel.org>2022-07-05 11:45:46 +0100
commite97575533a801bc9b0c690bb7e58f126ede4ad41 (patch)
tree0e47070e40c3493c864d75cf9b7f269ff7111a5b /arch/arm64/lib/mte.S
parentbacf3085bf03396eb1e51be88639e8e2310fe59c (diff)
downloadlinux-stable-e97575533a801bc9b0c690bb7e58f126ede4ad41.tar.gz
linux-stable-e97575533a801bc9b0c690bb7e58f126ede4ad41.tar.bz2
linux-stable-e97575533a801bc9b0c690bb7e58f126ede4ad41.zip
arm64/mte: Standardise GMID field name definitions
Usually our defines for bitfields in system registers do not include a SYS_ prefix but those for GMID do. In preparation for automatic generation of defines remove that prefix. No functional change. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220704170302.2609529-9-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib/mte.S')
-rw-r--r--arch/arm64/lib/mte.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/mte.S b/arch/arm64/lib/mte.S
index eeb9e45bcce8..1b7c93ae7e63 100644
--- a/arch/arm64/lib/mte.S
+++ b/arch/arm64/lib/mte.S
@@ -18,7 +18,7 @@
*/
.macro multitag_transfer_size, reg, tmp
mrs_s \reg, SYS_GMID_EL1
- ubfx \reg, \reg, #SYS_GMID_EL1_BS_SHIFT, #SYS_GMID_EL1_BS_SIZE
+ ubfx \reg, \reg, #GMID_EL1_BS_SHIFT, #GMID_EL1_BS_SIZE
mov \tmp, #4
lsl \reg, \tmp, \reg
.endm