Subject: Re: splassert
To: Frank van der Linden <fvdl@wasabisystems.com>
From: None <itojun@iijlab.net>
List: tech-kern
Date: 06/18/2002 00:43:54
>> 	i386 only for now.
>> 	(actually, openbsd has it for i386/sparc/sparc64 only)
>[...]
>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())

	if you check openbsd sparc/sparc64 code, they have something more
	than >= comparison in splassert_fail, so there seem to be some reason
	to have splassert_fail() function.  (sparc gurus, pls check)

itojun