From owner-cvs-src@FreeBSD.ORG Tue Mar 7 21:44:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A307016A422; Tue, 7 Mar 2006 21:44:21 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EBA243D46; Tue, 7 Mar 2006 21:44:21 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k27LiLNC036481; Tue, 7 Mar 2006 21:44:21 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k27LiLhx036480; Tue, 7 Mar 2006 21:44:21 GMT (envelope-from jhb) Message-Id: <200603072144.k27LiLhx036480@repoman.freebsd.org> From: John Baldwin Date: Tue, 7 Mar 2006 21:44:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/alpha/alpha clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 21:44:21 -0000 jhb 2006-03-07 21:44:20 UTC FreeBSD src repository Modified files: sys/alpha/alpha clock.c Log: - Simplify the i8254 timecounter for the alpha since we don't actually have an interrupt handler for the i8254. (Our clock interrupts come from elsewhere.) Instead, use the same algo that i386 uses when the lapic timer is in use. This lets us remove a lot of cruft that tried to handle the i8254 interrupts that we weren't even using or setting up a handler for. - G/C a bunch of unused cruft while I'm here. - Fix the code to not use the rpcc timecounter (similar to TSC) on SMP machines to only disable that timecounter if more than one CPU is in use by the kernel. Previously, a UP kernel on a machine with multiple CPUs would needlessly disable this timecounter. MFC after: 1 week Revision Changes Path 1.43 +12 -97 src/sys/alpha/alpha/clock.c