From owner-cvs-all@FreeBSD.ORG Wed Dec 3 06:55:32 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 8BB0416A4CE; Wed, 3 Dec 2003 06:55:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5F9E43F3F; Wed, 3 Dec 2003 06:55:31 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB3EtVXJ048883; Wed, 3 Dec 2003 06:55:31 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB3EtV4F048874; Wed, 3 Dec 2003 06:55:31 -0800 (PST) (envelope-from jhb) Message-Id: <200312031455.hB3EtV4F048874@repoman.freebsd.org> From: John Baldwin Date: Wed, 3 Dec 2003 06:55:31 -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/conf files src/sys/kern subr_smp.c src/sys/sys smp.h 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: Wed, 03 Dec 2003 14:55:32 -0000 jhb 2003/12/03 06:55:31 PST FreeBSD src repository Modified files: sys/conf files sys/kern subr_smp.c sys/sys smp.h Log: Export a few SMP related symbols in UP kernels as well. This is needed to aid other kernel code, especially code which can be in a module such as the acpi_cpu(4) driver, to work properly with both SMP and UP kernels. The exported symbols include mp_ncpus, all_cpus, mp_maxid, smp_started, and the smp_rendezvous() function. This also means that CPU_ABSENT() is now always implemented the same on all kernels. Approved by: re (scottl) Revision Changes Path 1.855 +1 -1 src/sys/conf/files 1.180 +36 -0 src/sys/kern/subr_smp.c 1.75 +7 -6 src/sys/sys/smp.h