[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

checking if a module is loaded



Hi,

Is there any way to find out if a module (A) is already  loaded 
from another module (B)? 

I want to do in module B something like this :

	if (find_module(A))
		return;		// module A is already loaded
	else
		request_module(A);


Thanks,
Manoj.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/