Date: Fri, 22 Jan 2010 09:55:13 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r202797 - head/sys/mips/mips Message-ID: <201001220955.o0M9tD2g029306@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Jan 22 09:55:13 2010 New Revision: 202797 URL: http://svn.freebsd.org/changeset/base/202797 Log: Add a suggested improvement. Modified: head/sys/mips/mips/tick.c Modified: head/sys/mips/mips/tick.c ============================================================================== --- head/sys/mips/mips/tick.c Fri Jan 22 09:54:40 2010 (r202796) +++ head/sys/mips/mips/tick.c Fri Jan 22 09:55:13 2010 (r202797) @@ -144,6 +144,7 @@ mips_timer_init_params(uint64_t platform /* * XXX: Some MIPS32 cores update the Count register only every two * pipeline cycles. + * We know this because of status registers in CP0, make it automatic. */ if (double_count != 0) counter_freq /= 2;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001220955.o0M9tD2g029306>