From owner-svn-src-all@FreeBSD.ORG Tue Jan 4 16:29:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C805106566C; Tue, 4 Jan 2011 16:29:08 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3FE8FC26; Tue, 4 Jan 2011 16:29:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p04GT8sY044029; Tue, 4 Jan 2011 16:29:08 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p04GT71A044027; Tue, 4 Jan 2011 16:29:07 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201101041629.p04GT71A044027@svn.freebsd.org> From: Colin Percival Date: Tue, 4 Jan 2011 16:29:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216963 - head/sys/i386/xen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 16:29:08 -0000 Author: cperciva Date: Tue Jan 4 16:29:07 2011 New Revision: 216963 URL: http://svn.freebsd.org/changeset/base/216963 Log: Spell CRITICAL_ASSERT correctly. Submitted by: jhb MFC with: r216944 Modified: head/sys/i386/xen/xen_machdep.c Modified: head/sys/i386/xen/xen_machdep.c ============================================================================== --- head/sys/i386/xen/xen_machdep.c Tue Jan 4 16:21:14 2011 (r216962) +++ head/sys/i386/xen/xen_machdep.c Tue Jan 4 16:29:07 2011 (r216963) @@ -253,8 +253,7 @@ _xen_flush_queue(void) #ifdef INVARIANTS if (__predict_true(gdtset)) - KASSERT(curthread->td_critnest > 0, - ("xen queue flush should be in a critical section")); + CRITICAL_ASSERT(curthread); #endif XPQ_IDX = 0;