Andrew Thompson 018cecb61b Add functions WITNESS so it can be asserted that the lock is not released for a
section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark
the boundaries. Both functions require the lock to be held when calling.

This is intended for scenarios like a bus asserting that the bus lock is not
dropped during a driver call. There doesn't appear to be a man page to
document this in.

Reviewed by:	jhb
2009-01-21 04:19:18 +00:00
..
2009-01-14 21:31:22 +00:00
2009-01-13 18:49:35 +00:00
2009-01-18 07:20:02 +00:00
2009-01-18 07:20:02 +00:00
2009-01-15 11:54:31 +00:00