We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d099955 commit 62ce7afCopy full SHA for 62ce7af
arch/arm64/kernel/head.S
@@ -113,7 +113,7 @@ SYM_CODE_START(primary_entry)
113
*/
114
#if VA_BITS > 48
115
mrs_s x0, SYS_ID_AA64MMFR2_EL1
116
- tst x0, #0xf << ID_AA64MMFR2_EL1_VARange_SHIFT
+ tst x0, ID_AA64MMFR2_EL1_VARange_MASK
117
mov x0, #VA_BITS
118
mov x25, #VA_BITS_MIN
119
csel x25, x25, x0, eq
@@ -756,7 +756,7 @@ SYM_FUNC_START(__cpu_secondary_check52bitva)
756
b.ne 2f
757
758
759
- and x0, x0, #(0xf << ID_AA64MMFR2_EL1_VARange_SHIFT)
+ and x0, x0, ID_AA64MMFR2_EL1_VARange_MASK
760
cbnz x0, 2f
761
762
update_early_cpu_boot_status \
0 commit comments