mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Find module by name
@ 2002-12-07 11:37 Thomas Heinz
  0 siblings, 0 replies; only message in thread
From: Thomas Heinz @ 2002-12-07 11:37 UTC (permalink / raw)
  To: linux-kernel

Hi

I want to implement a kind of module autoloading mechanism.
The situation is the following: There are two modules A and B,
where A needs module B to be loaded under certain (runtime)
conditions.

First I thought the solution would be pretty simple. I wanted to
use a function like find_module from kernel/module.c to search
module_list for a module of a certain name. If it is not there
request_module would be used to load the module and afterwards
another find_module call should return a pointer to the module
if the call succeeded.

Unfortunately this solutions does not work in general as
module_list is not exported which means that I'm getting those
nasty 'unresolved symbol' messages when insmoding module A.

Any suggestions? Thanks for your help.


Thomas


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-07 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-07 11:37 Find module by name Thomas Heinz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome