PERFORCE change 131903 for review

John Birrell jb at FreeBSD.org
Fri Dec 28 13:11:31 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131903

Change 131903 by jb at jb_freebsd1 on 2007/12/28 21:10:37

	Make cpu_lock global since users of cyclic timers need to lock it before
	calling the API.
	
	We probably should move this to an opensolaris module which would contain
	the memory and atomic functions that ported OpenSolaris kernel modules
	need to share.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#11 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#11 (text) ====

@@ -569,7 +569,7 @@
 #include <sys/conf.h>
 #define gethrtime_unscaled	dtrace_gethrtime
 static cyclic_cpu_t	cyclic_cpu[SMP_MAXCPU];
-static kmutex_t		cpu_lock;
+kmutex_t		cpu_lock;
 #endif
 
 #ifdef CYCLIC_TRACE


More information about the p4-projects mailing list