Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 16:32:56 +0600 (NOVT)
From:      nnd@mail.nsk.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/25567: 'src/sys/sys/sx.h' one letter bug 
Message-ID:  <200103061032.f26AWuE26302@wint.itfs.nsk.su>

next in thread | raw e-mail | index | archive | help

>Number:         25567
>Category:       kern
>Synopsis:       'src/sys/sys/sx.h' one letter bug
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 02:40:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nickolay Dudorov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
STE Infoteka
>Environment:
System: FreeBSD wint.itfs.nsk.su 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Mon Mar 5 13:44:50 NOVT 2001 nnd@wint.itfs.nsk.su:/usr/obj/usr/src/sys/WINTS i386


>Description:
	
	Buildkernel of -CURRENT with the 'src/sys/sys/sx.h' 
ver. 1.2 is broken due to 'SX_ASSERT_XLOCKER' instead of
'SX_ASSERT_XLOCKED' definition in the !INVARIANTS case.

>How-To-Repeat:
	
	Just 'make buildkernel'

>Fix:


Index: src/sys/sys/sx.h
===================================================================
RCS file: /scratch/CVS/src/sys/sys/sx.h,v
retrieving revision 1.2
diff -b -u -r1.2 sx.h
--- src/sys/sys/sx.h	2001/03/06 06:17:05	1.2
+++ src/sys/sys/sx.h	2001/03/06 10:22:09
@@ -78,7 +78,7 @@
 
 #else	/* INVARIANTS */
 #define	SX_ASSERT_SLOCKED(sx)
-#define	SX_ASSERT_XLOCKER(sx)
+#define	SX_ASSERT_XLOCKED(sx)
 #endif	/* INVARIANTS */
 
 #endif	/* _KERNEL */

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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