From owner-cvs-all@FreeBSD.ORG Tue Dec 23 05:54:17 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5471D16A4CE; Tue, 23 Dec 2003 05:54:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99AB543D1D; Tue, 23 Dec 2003 05:54:16 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBNDsG0B005136; Tue, 23 Dec 2003 05:54:16 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBNDsGi3005135; Tue, 23 Dec 2003 05:54:16 -0800 (PST) (envelope-from alfred) Message-Id: <200312231354.hBNDsGi3005135@repoman.freebsd.org> From: Alfred Perlstein Date: Tue, 23 Dec 2003 05:54:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_smp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 13:54:17 -0000 alfred 2003/12/23 05:54:16 PST FreeBSD src repository Modified files: sys/kern subr_smp.c Log: Introduce mp_maxcpus which can be used by libkvm utils to find out how many CPUs the system was compiled for. Export the variable via a sysctl node 'kern.smp.maxcpus' as well. Revision Changes Path 1.181 +5 -0 src/sys/kern/subr_smp.c