Module Name: src Committed By: mrg Date: Sun Jan 17 01:04:58 UTC 2021
Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: note that find_cpus() also sets cpu_arch. To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/sys/arch/sparc/sparc/autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc/sparc/autoconf.c diff -u src/sys/arch/sparc/sparc/autoconf.c:1.262 src/sys/arch/sparc/sparc/autoconf.c:1.263 --- src/sys/arch/sparc/sparc/autoconf.c:1.262 Sun Jan 17 01:02:28 2021 +++ src/sys/arch/sparc/sparc/autoconf.c Sun Jan 17 01:04:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.262 2021/01/17 01:02:28 mrg Exp $ */ +/* $NetBSD: autoconf.c,v 1.263 2021/01/17 01:04:58 mrg Exp $ */ /* * Copyright (c) 1996 @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.262 2021/01/17 01:02:28 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.263 2021/01/17 01:04:58 mrg Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -198,6 +198,8 @@ set_machine_model(bool late) /* * Get the number of CPUs in the system and the CPUs' SPARC architecture * version. We need this information early in the boot process. + * + * This also sets cpu_arch to 8 on sun4m and sun4d. */ static int find_cpus(void)