Author: marcel
Date: Tue Jun 7 01:06:49 2011
New Revision: 222800
URL: http://svn.freebsd.org/changeset/base/222800
Log:
Call set_cputicker() to have the time counter use the ITC register.
Note that the ITC frequency is fixed.
Modified:
head/sys/ia64/ia64/machdep.c
Modified: head/sys/ia64/ia64/machdep.c
==============================================================================
--- head/sys/ia64/ia64/machdep.c Tue Jun 7 00:59:31 2011
(r222799)
+++ head/sys/ia64/ia64/machdep.c Tue Jun 7 01:06:49 2011
(r222800)
@@ -786,6 +786,8 @@ ia64_init(void)
ia64_sal_init();
calculate_frequencies();
+ set_cputicker(ia64_get_itc, (u_long)itc_freq * 1000000, 0);
+
/*
* Setup the PCPU data for the bootstrap processor. It is needed
* by printf(). Also, since printf() has critical sections, we
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"