]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: Remove a redundancy in sysreg.h
authorStefan Traby <stefan@hello-penguin.com>
Tue, 20 Jun 2017 13:30:42 +0000 (15:30 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 22 Jun 2017 16:38:42 +0000 (17:38 +0100)
This is really trivial; there is a dup (1 << 16) in the code

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Stefan Traby <stefan@hello-penguin.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/sysreg.h

index 040b607cb682438b191797ab205ec2653c6c1127..16e44fa9b3b61b0bec9cc8ed92874310cd094176 100644 (file)
 #define SCTLR_ELx_M    1
 
 #define SCTLR_EL2_RES1 ((1 << 4)  | (1 << 5)  | (1 << 11) | (1 << 16) | \
-                        (1 << 16) | (1 << 18) | (1 << 22) | (1 << 23) | \
-                        (1 << 28) | (1 << 29))
+                        (1 << 18) | (1 << 22) | (1 << 23) | (1 << 28) | \
+                        (1 << 29))
 
 #define SCTLR_ELx_FLAGS        (SCTLR_ELx_M | SCTLR_ELx_A | SCTLR_ELx_C | \
                         SCTLR_ELx_SA | SCTLR_ELx_I)