From owner-p4-projects@FreeBSD.ORG Wed Jul 18 11:59:02 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D614B16A4D2; Wed, 18 Jul 2007 11:59:01 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC95016A401 for ; Wed, 18 Jul 2007 11:59:01 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFBF13C494 for ; Wed, 18 Jul 2007 11:59:01 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6IBx1Z4092517 for ; Wed, 18 Jul 2007 11:59:01 GMT (envelope-from attilio@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6IBx1gh092513 for perforce@freebsd.org; Wed, 18 Jul 2007 11:59:01 GMT (envelope-from attilio@FreeBSD.org) Date: Wed, 18 Jul 2007 11:59:01 GMT Message-Id: <200707181159.l6IBx1gh092513@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to attilio@FreeBSD.org using -f From: Attilio Rao To: Perforce Change Reviews Cc: Subject: PERFORCE change 123684 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 11:59:02 -0000 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)