summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-02-21 09:25:53 +0000
committermarius <marius@FreeBSD.org>2010-02-21 09:25:53 +0000
commit002bfbf796a561ef0d5e9a0b8ec6f8542fdebb9a (patch)
tree3cdb725053d4d82e7fae3a38431e39b0fcf66ed1 /sys/sparc64/include
parent4da12ebc297c0cfe6ba3faff19b91f6ece5e0c19 (diff)
downloadFreeBSD-src-002bfbf796a561ef0d5e9a0b8ec6f8542fdebb9a.zip
FreeBSD-src-002bfbf796a561ef0d5e9a0b8ec6f8542fdebb9a.tar.gz
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.
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/tick.h4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud