[patch] Require _KERNEL/_KERNEL_STRUCTURES for all kernel headers

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 21 14:56:46 PST 2004


On Tue, Dec 21, 2004 at 12:38:27PM -0800, Chris Pressey wrote:
> I just wanted to pass it over submit@ for one last review.  If there are
> no objections in the next few days, I'll commit it:
> 
>   http://catseye.webhop.net/DragonFlyBSD/patch/kernel_barricade.diff

- sys/device_port.h already included
- in bus/cam/scsi_da.c, can you merge the _KERNEL includes and the !_KERNEL
  includes?
- in sys/lockf, the functions should be in one group and the variable in
  another
- in power.h, don't add _KERNEL, it doesn't make that much sense
- sys/systimer.h is _KERNEL only, if world break, we should fix it
- sys/taskqueue.h should stay kernel only
- sys/timepps.h can move the include for sys/systimer.h into the _KERNEL
  section?
- sys/tprintf.h should stay _KERNEL only 
- sys/xwait.h can be removed, if Matt doesn't want to resurrect it. It's
  only used by kern/kern_sync.c and there only by #if 0'd code.

Joerg





More information about the Submit mailing list