From owner-p4-projects@FreeBSD.ORG Sat Mar 4 03:02:13 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BD2E816A423; Sat, 4 Mar 2006 03:02:12 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A56816A420 for ; Sat, 4 Mar 2006 03:02:12 +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 A0AD743D49 for ; Sat, 4 Mar 2006 03:02:10 +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 k2432Aq0099452 for ; Sat, 4 Mar 2006 03:02:10 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k24329EU099449 for perforce@freebsd.org; Sat, 4 Mar 2006 03:02:10 GMT (envelope-from jhb@freebsd.org) Date: Sat, 4 Mar 2006 03:02:10 GMT Message-Id: <200603040302.k24329EU099449@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 92708 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 03:02:13 -0000 http://perforce.freebsd.org/chv.cgi?CH=92708 Change 92708 by jhb@jhb_zion on 2006/03/04 03:01:26 Enable rpcc timecounter on SMP systems with only 1 CPU enabled. Affected files ... .. //depot/projects/smpng/sys/alpha/alpha/clock.c#21 edit Differences ... ==== //depot/projects/smpng/sys/alpha/alpha/clock.c#21 (text+ko) ==== @@ -103,7 +103,6 @@ u_int32_t timer_freq = TIMER_FREQ; extern int cycles_per_sec; -extern int ncpus; static timecounter_get_t i8254_get_timecount; static timecounter_get_t alpha_get_timecount; @@ -239,7 +238,7 @@ tc_init(&i8254_timecounter); platform.clockintr = hardclock; - if (ncpus == 1) { + if (mp_ncpus == 1) { alpha_timecounter.tc_frequency = cycles_per_sec; tc_init(&alpha_timecounter); }