Module Name: src Committed By: cliff Date: Mon Mar 22 05:03:03 UTC 2010
Modified Files: src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_cpunode.c Log Message: in cpunode_rmixl_attach use the right macro to obtain number of cores provided by this chip. To generate a diff of this commit: cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/mips/rmi/rmixl_cpunode.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/mips/rmi/rmixl_cpunode.c diff -u src/sys/arch/mips/rmi/rmixl_cpunode.c:1.1.2.3 src/sys/arch/mips/rmi/rmixl_cpunode.c:1.1.2.4 --- src/sys/arch/mips/rmi/rmixl_cpunode.c:1.1.2.3 Wed Jan 20 20:48:12 2010 +++ src/sys/arch/mips/rmi/rmixl_cpunode.c Mon Mar 22 05:03:02 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rmixl_cpunode.c,v 1.1.2.3 2010/01/20 20:48:12 matt Exp $ */ +/* $NetBSD: rmixl_cpunode.c,v 1.1.2.4 2010/03/22 05:03:02 cliff Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rmixl_cpunode.c,v 1.1.2.3 2010/01/20 20:48:12 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rmixl_cpunode.c,v 1.1.2.4 2010/03/22 05:03:02 cliff Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -114,7 +114,7 @@ break; } - ncores = MIPS_CIDFL_RMI_NTHREADS(cpu_cidflags); + ncores = MIPS_CIDFL_RMI_NCORES(cpu_cidflags); aprint_normal("%s: %d %s on node\n", device_xname(self), ncores, ncores == 1 ? "core" : "cores");