Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/dtrace Adapt to new modu...
details: https://anonhg.NetBSD.org/src/rev/f58b12cddabb
branches: trunk
changeset: 757276:f58b12cddabb
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 22 18:01:01 2010 +0000
description:
Adapt to new module locking regime. Is that even right?
diffstat:
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 35efcf61ec3e -r f58b12cddabb external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sun Aug 22 17:45:48 2010 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sun Aug 22 18:01:01 2010 +0000
@@ -8032,12 +8032,12 @@
*((char **)&mod_nbsd->mod_info->mi_name) = "netbsd";
}
- mutex_enter(&module_lock);
+ kernconfig_lock();
prv->dtpv_pops.dtps_provide_module(prv->dtpv_arg, mod_nbsd);
TAILQ_FOREACH(mod, &module_list, mod_chain) {
prv->dtpv_pops.dtps_provide_module(prv->dtpv_arg, mod);
}
- mutex_exit(&module_lock);
+ kernconfig_unlock();
#endif
mutex_exit(&mod_lock);
Home |
Main Index |
Thread Index |
Old Index