Fix typos in previous commit spotted by naddy@
authorkettenis <kettenis@openbsd.org>
Thu, 18 Jul 2024 17:18:01 +0000 (17:18 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 18 Jul 2024 17:18:01 +0000 (17:18 +0000)
sys/arch/arm64/arm64/cpu.c

index 3738387..0e87fc6 100644 (file)
@@ -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;