PERFORCE change 123684 for review
Attilio Rao
attilio at FreeBSD.org
Wed Jul 18 11:59:02 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123684
Change 123684 by attilio at attilio_xen on 2007/07/18 11:58:45
Fix a compilation error and enable MTX_NOPROFILE for the clock
mutex
Affected files ...
.. //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#19 edit
Differences ...
==== //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#19 (text+ko) ====
@@ -109,7 +109,8 @@
#define ACQUIRED 2
#define ACQUIRE_PENDING 3
-#define RTC_LOCK_INIT mtx_init(&clock_lock, "clk", NULL, MTX_SPIN);
+#define RTC_LOCK_INIT \
+ mtx_init(&clock_lock, "clk", NULL, MTX_SPIN | MTX_NOPROFILE)
#define RTC_LOCK mtx_lock_spin(&clock_lock)
#define RTC_UNLOCK mtx_unlock_spin(&clock_lock)
More information about the p4-projects
mailing list