Date: Sat, 4 Mar 2006 03:02:10 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92708 for review Message-ID: <200603040302.k24329EU099449@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603040302.k24329EU099449>