Subject: Re: splassert
To: None <itojun@iijlab.net>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-kern
Date: 06/17/2002 17:38:39
On Mon, Jun 17, 2002 at 06:54:22PM +0900, itojun@iijlab.net wrote:
> 	i386 only for now.
> 	(actually, openbsd has it for i386/sparc/sparc64 only)
> 
> itojun

[...]

We already have KASSERT, there is no need for seperate functions
like 'splassert_fail'. It's probably better to define an MD
function called "curspl()" (or whatever), and then

	#define splassert(level) KASSERT(level >= curspl())

- Frank