aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/eventhandler.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2013-08-14 00:42:21 +0000
committerMark Johnston <markj@FreeBSD.org>2013-08-14 00:42:21 +0000
commit12ede07ab8eba1a518ec337294513969bcca4d8d (patch)
tree8b4622cbc65ef30919bb38531ed18a5a5c4f7f03 /sys/sys/eventhandler.h
parent99de9af2a6235fd90528ac8038a35f8ad7fda571 (diff)
downloadsrc-12ede07ab8eba1a518ec337294513969bcca4d8d.tar.gz
src-12ede07ab8eba1a518ec337294513969bcca4d8d.zip
Notes
Diffstat (limited to 'sys/sys/eventhandler.h')
-rw-r--r--sys/sys/eventhandler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h
index 7e1eee2ecd00..a1f9c55a1c03 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 */