summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-07-18 17:18:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-07-18 17:18:02 +0000
commit68edb0291ad6b190df4c159f5a5af20477fc0522 (patch)
tree5961b0b71698cc613162180ade5f966e58e6ccf9 /sys/arch
parent59f7c5b1aa9b38486a5ecc6523266c18d7c4f595 (diff)
Fix typos in previous commit spotted by naddy@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c
index 37383875d3e..0e87fc6c152 100644
--- a/sys/arch/arm64/arm64/cpu.c
+++ b/sys/arch/arm64/arm64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.127 2024/07/17 15:21:59 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.128 2024/07/18 17:18:01 kettenis Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@ -1035,12 +1035,12 @@ cpu_identify_cleanup(void)
cpu_id_aa64isar0 = value;
/* ID_AA64ISAR1_EL1 */
- value = cpu_id_aa64isar1 &= ID_AA64ISAR1_MASK;
+ value = cpu_id_aa64isar1 & ID_AA64ISAR1_MASK;
value &= ~ID_AA64ISAR1_SPECRES_MASK;
cpu_id_aa64isar1 = value;
/* ID_AA64ISAR2_EL1 */
- value = cpu_id_aa64isar2 &= ID_AA64ISAR2_MASK;
+ value = cpu_id_aa64isar2 & ID_AA64ISAR2_MASK;
value &= ~ID_AA64ISAR2_CLRBHB_MASK;
cpu_id_aa64isar2 = value;