From owner-cvs-all Wed Jun 13 13:40:38 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1650337B401; Wed, 13 Jun 2001 13:40:25 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Received: (from gallatin@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5DKePm63930; Wed, 13 Jun 2001 13:40:25 -0700 (PDT) (envelope-from gallatin) Message-Id: <200106132040.f5DKePm63930@freefall.freebsd.org> From: Andrew Gallatin Date: Wed, 13 Jun 2001 13:40:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha mp_machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gallatin 2001/06/13 13:40:24 PDT Modified files: sys/alpha/alpha mp_machdep.c Log: initialize mp_ncpus in cpu_mp_probe() so that if the probe fails and cpu_mp_start() is never called, mp_ncpus will have a non-zero value. This prevents systat from dying with an arithmatic exception caused by a divide-by-zero error on UP alphas running a GENERIC kernel. Revision Changes Path 1.21 +3 -3 src/sys/alpha/alpha/mp_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message