Date: Tue, 9 Apr 2002 18:13:58 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/digi digi.c src/sys/kern kern_linker.c src/sys/sys linker.h Message-ID: <200204100113.g3A1DwZ02558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2002/04/09 18:13:58 PDT Modified files: sys/dev/digi digi.c sys/kern kern_linker.c sys/sys linker.h Log: Change linker_reference_module() so that it's passed a struct mod_depend * (which may be NULL). The only consumer of this function at the moment is digi_loadmoduledata(), and that passes a NULL mod_depend *. In linker_reference_module(), check to see if we've already got the required module loaded. If we have, bump the reference count and return that, otherwise continue the module search as normal. Revision Changes Path 1.23 +8 -2 src/sys/dev/digi/digi.c 1.87 +14 -3 src/sys/kern/kern_linker.c 1.29 +4 -1 src/sys/sys/linker.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204100113.g3A1DwZ02558>