Call set_cputicker() to have the time counter use the ITC register.

Note that the ITC frequency is fixed.
This commit is contained in:
Marcel Moolenaar 2011-06-07 01:06:49 +00:00
parent 9f11397eb5
commit 28fb80aa8c

View File

@ -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