kernel - Compact KOBJOPLOOKUP() kobj method core macro
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 02:32:45 +0000 (19:32 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 02:32:45 +0000 (19:32 -0700)
commitef8696044021849a0172820ce7cef4528c47b7c0
treeaa79669b2a324a1a36e2595e0eec272a605d70f9
parent1f681c72bd9900d8b4735a38e2e38ff5f1645d0b
kernel - Compact KOBJOPLOOKUP() kobj method core macro

* Replace the longish KOBJOPLOOKUP() macro with a procedure call
  to kobj_lookup_method().  Do all the heavy lifting in the procedure.

  Reduces the nominal kernel size by 67K.
sys/kern/subr_kobj.c
sys/sys/kobj.h