freebsd-skq/sys/powerpc/powermac
cem 250e158ddf Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.

EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).

As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions.  The remainder of the patch addresses
adding appropriate includes to fix those files.

LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).

No functional change (intended).  Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed.  __FreeBSD_version has been bumped.
2019-05-20 00:38:23 +00:00
..
ata_dbdma.c
ata_dbdma.h
ata_kauai.c
ata_macio.c
atibl.c
cpcht.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
cuda.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
cudavar.h
dbdma.c
dbdmavar.h
fcu.c
grackle.c
gracklevar.h
hrowpic.c powerpc: Add opaque 'private data' to interrupt vectors 2019-01-12 22:05:42 +00:00
hrowpicvar.h
kiic.c
macgpio.c powerpc/powermac: Fix macgpio(4) child interrupt resource handling 2018-12-06 04:25:12 +00:00
macgpiovar.h
macio.c Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
maciovar.h
nvbl.c
platform_powermac.c
pmu.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
pmuvar.h
powermac_thermal.c
powermac_thermal.h
pswitch.c
smu.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
smusat.c
uninorth.c Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
uninorthpci.c Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
uninorthvar.h
vcoregpio.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
viareg.h