diff options
Diffstat (limited to 'usr/src/uts/common/os/modctl.c')
| -rw-r--r-- | usr/src/uts/common/os/modctl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/modctl.c b/usr/src/uts/common/os/modctl.c index 7463cdb92f..d8782b320e 100644 --- a/usr/src/uts/common/os/modctl.c +++ b/usr/src/uts/common/os/modctl.c @@ -21,6 +21,7 @@ /* * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017 Joyent, Inc. */ /* @@ -3473,6 +3474,11 @@ mod_load(struct modctl *mp, int usepath) retval = install_stubs_by_name(mp, mp->mod_modname); /* + * Perform hotinlines before module is started. + */ + do_hotinlines(mp->mod_mp); + + /* * Now that the module is loaded, we need to give DTrace * a chance to notify its providers. This is done via * the dtrace_modload function pointer. |
