summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-04-02 17:37:06 +0000
committertmm <tmm@FreeBSD.org>2002-04-02 17:37:06 +0000
commit45398f8631fde95b17cb1858763fce87d6e3b211 (patch)
tree8c69709c1d9b981dddbbc27fa44e7c9dc4fd2f3c /sys/sparc64
parent198af052bfedfa75cbd8076265820f108a0da6a2 (diff)
downloadFreeBSD-src-45398f8631fde95b17cb1858763fce87d6e3b211.zip
FreeBSD-src-45398f8631fde95b17cb1858763fce87d6e3b211.tar.gz
Set mp_maxid so that UMA works with SMP.
Submitted by: jake
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/mp_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c
index 1176c37..8d5ddf5 100644
--- a/sys/sparc64/sparc64/mp_machdep.c
+++ b/sys/sparc64/sparc64/mp_machdep.c
@@ -150,6 +150,7 @@ cpu_mp_probe(void)
strcmp(buf, "cpu") == 0)
cpus++;
}
+ mp_maxid = cpus;
return (cpus > 1);
}
OpenPOWER on IntegriCloud