From: kettenis Date: Thu, 18 Jul 2024 17:18:01 +0000 (+0000) Subject: Fix typos in previous commit spotted by naddy@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e0003edf63b7612c69a4a75f048a572d924fd067;p=openbsd Fix typos in previous commit spotted by naddy@ --- 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 @@ -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;