Call set_cputicker() to have the time counter use the ITC register.
Note that the ITC frequency is fixed.
This commit is contained in:
parent
9f11397eb5
commit
28fb80aa8c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user