diff options
author | markj <markj@FreeBSD.org> | 2013-08-14 00:42:21 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-08-14 00:42:21 +0000 |
commit | cee1e037da7213db868bb6bfc99884926330de56 (patch) | |
tree | 8b4622cbc65ef30919bb38531ed18a5a5c4f7f03 /sys/sys/eventhandler.h | |
parent | ca13e69c2fa126397190f335a734aec79c296ea8 (diff) | |
download | FreeBSD-src-cee1e037da7213db868bb6bfc99884926330de56.zip FreeBSD-src-cee1e037da7213db868bb6bfc99884926330de56.tar.gz |
Use kld_{load,unload} instead of mod_{load,unload} for the linker file load
and unload event handlers added in r254266.
Reported by: jhb
X-MFC with: r254266
Diffstat (limited to 'sys/sys/eventhandler.h')
-rw-r--r-- | sys/sys/eventhandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index 7e1eee2..a1f9c55 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -266,11 +266,11 @@ EVENTHANDLER_DECLARE(nmbclusters_change, uma_zone_chfn); EVENTHANDLER_DECLARE(nmbufs_change, uma_zone_chfn); EVENTHANDLER_DECLARE(maxsockets_change, uma_zone_chfn); -/* Module load and unload events */ +/* Kernel linker file load and unload events */ struct linker_file; -typedef void (*mod_load_fn)(void *, struct linker_file *); -typedef void (*mod_unload_fn)(void *, struct linker_file *, int *); -EVENTHANDLER_DECLARE(mod_load, mod_load_fn); -EVENTHANDLER_DECLARE(mod_unload, mod_unload_fn); +typedef void (*kld_load_fn)(void *, struct linker_file *); +typedef void (*kld_unload_fn)(void *, struct linker_file *, int *); +EVENTHANDLER_DECLARE(kld_load, kld_load_fn); +EVENTHANDLER_DECLARE(kld_unload, kld_unload_fn); #endif /* SYS_EVENTHANDLER_H */ |