Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 11:59:01 GMT
From:      Attilio Rao <attilio@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123684 for review
Message-ID:  <200707181159.l6IBx1gh092513@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123684

Change 123684 by attilio@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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707181159.l6IBx1gh092513>