Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Eric Haszlakiewicz <erh@netbsd.org>
List: source-changes
Date: 03/26/2006 20:19:52
Module Name:	src
Committed By:	erh
Date:		Sun Mar 26 20:19:52 UTC 2006

Modified Files:
	src/sys/kern: kern_lock.c
	src/sys/sys: lock.h sched.h

Log Message:
Add simple_lock_assert_locked/simple_lock_assert_unlocked to provide additional
useful information when panic'ing because the assertion fails.
Use these to define the SCHED_ASSERT_LOCKED/SCHED_ASSERT_UNLOCKED macros.


To generate a diff of this commit:
cvs rdiff -r1.93 -r1.94 src/sys/kern/kern_lock.c
cvs rdiff -r1.63 -r1.64 src/sys/sys/lock.h
cvs rdiff -r1.26 -r1.27 src/sys/sys/sched.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.