Subject: Re: IPL-lowering functions should return 'void', and now they do.
To: Ben Harris <>
From: Andrew Brown <>
List: tech-kern
Date: 06/08/2000 12:22:39
>> it seems to me that splx() ought to be allowed to return void but that
>> the others should all return the previous ipl.  i can, after all,
>> always ignore the return value of the spl() function if i don't need
>> it, right?
>Erm, the point is that anyone trying to lower the spl should be doing it
>permanently, and hence shouldn't need to know the old one.  Anyone who
>needs to know what the spl was is probably doing the wrong thing.
>Also, it takes some effort for a function to return int rather than void,
>so making the spl-lowering functions return void should make them slightly

well...since you put it that way it makes more sense.  i'll go back to
lurking.  :)

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."