From 002bfbf796a561ef0d5e9a0b8ec6f8542fdebb9a Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 21 Feb 2010 09:25:53 +0000 Subject: Some machines can not only consist of CPUs running at different speeds but also of different types, f.e. Sun Fire V890 can be equipped with a mix of UltraSPARC IV and IV+ CPUs, requiring different MMU initialization and different workarounds for model specific errata. Therefore move the CPU implementation number from a global variable to the per-CPU data. Functions which are called before the latter is available are passed the implementation number as a parameter now. This file was missed in r204152. --- sys/sparc64/include/tick.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/sparc64') diff --git a/sys/sparc64/include/tick.h b/sys/sparc64/include/tick.h index 9182cb4..ae80d53 100644 --- a/sys/sparc64/include/tick.h +++ b/sys/sparc64/include/tick.h @@ -31,8 +31,8 @@ extern u_int hardclock_use_stick; -void tick_clear(void); +void tick_clear(u_int cpu_impl); void tick_start(void); -void tick_stop(void); +void tick_stop(u_int cpu_impl); #endif -- cgit v1.1