Subject: re: CVS commit: basesrc
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 07/10/1999 13:04:44
   On Fri, Jul 09, 1999 at 11:22:24AM +1000, matthew green wrote:
   > it seems that we need some new preprocessor symbol to deal with this,
   > such as `_KERNEL_FROM_USERLAND' which basically means to not include
   > opt_xxx.h files, and any userland code that wants to #define _KERNEL
   > must also define this.  the above is a hack and should die.
   > 
   > 
   > comments?
   
   Sure it would make a lot of things much simpler.


so, i've done this but i called it _KERNEL_NO_OPT_H and i've also made
bsd.kmod.mk define it as well as _KERNEL, and i've fixed all the header
files to be just _KERNEL && !_KERNEL_NO_OPT_H (i'll get to the rest of
the kernel sources before commiting).


i'll probably commit this in a day or so unless there are objections,
as well as removing the #define _LKM hack from both pstat and fstat.