Date: Fri, 28 Dec 2007 21:11:30 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 131903 for review Message-ID: <200712282111.lBSLBU8A086461@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131903 Change 131903 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712282111.lBSLBU8A086461>