diff options
-rw-r--r-- | sys/arch/alpha/alpha/cpu.c | 4 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/cpu.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c index cef7166de15..9f9821a9c99 100644 --- a/sys/arch/alpha/alpha/cpu.c +++ b/sys/arch/alpha/alpha/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.43 2020/05/29 04:42:23 deraadt Exp $ */ +/* $OpenBSD: cpu.c,v 1.44 2020/07/15 08:24:29 fcambus Exp $ */ /* $NetBSD: cpu.c,v 1.44 2000/05/23 05:12:53 thorpej Exp $ */ /*- @@ -426,7 +426,7 @@ cpu_boot_secondary_processors(void) ci = cpu_info[i]; if (ci == NULL || ci->ci_idle_pcb == NULL) continue; - if (ci->ci_flags & CPUF_PRIMARY) + if (CPU_IS_PRIMARY(ci)) continue; if ((cpus_booted & (1UL << i)) == 0) continue; diff --git a/sys/arch/mips64/mips64/cpu.c b/sys/arch/mips64/mips64/cpu.c index 8270b4ac4c3..d8ce5cdcc24 100644 --- a/sys/arch/mips64/mips64/cpu.c +++ b/sys/arch/mips64/mips64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.75 2020/07/11 15:18:08 visa Exp $ */ +/* $OpenBSD: cpu.c,v 1.76 2020/07/15 08:24:29 fcambus Exp $ */ /* * Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se) @@ -514,7 +514,7 @@ cpu_boot_secondary_processors(void) CPU_INFO_FOREACH(cii, ci) { if ((ci->ci_flags & CPUF_PRESENT) == 0) continue; - if (ci->ci_flags & CPUF_PRIMARY) + if (CPU_IS_PRIMARY(ci)) continue; ci->ci_randseed = (arc4random() & 0x7fffffff) + 1; |