KObj extension stage I/III
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 1 Apr 2004 08:41:24 +0000 (08:41 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 1 Apr 2004 08:41:24 +0000 (08:41 +0000)
commitb4f5425ecd669e818f9e4fa6cd633c2128d4f74f
tree04685e53221588e8fdab1ca9f308f9f4dd5b0733
parente1bc6fbb2dc5dbc92cf98cc1aa0483c9b22f6a64
KObj extension stage I/III

Isolate the reference counting for kobj classes in special functions to
allow clean locking in the next step.

Merge all calls of kobj_class_compile either into the new
kobj_class_instantiate or into kobj_init and make it static. Same for
kobj_class_free.

Remove kobj_class_compile_static, it wasn't used and is pretty pointless
since the kobj framework is not used before the VM subsystem has been
initialized.
sys/kern/subr_bus.c
sys/kern/subr_kobj.c
sys/libiconv/iconv.c
sys/sys/kobj.h