svn commit: r204164 - head/sys/sparc64/include

Marius Strobl marius at
Sun Feb 21 09:25:54 UTC 2010

Author: marius
Date: Sun Feb 21 09:25:53 2010
New Revision: 204164

  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.


Modified: head/sys/sparc64/include/tick.h
--- head/sys/sparc64/include/tick.h	Sun Feb 21 04:41:28 2010	(r204163)
+++ head/sys/sparc64/include/tick.h	Sun Feb 21 09:25:53 2010	(r204164)
@@ -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);

More information about the svn-src-head mailing list