lkml.org 
[lkml]   [2000]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Calling module functions from the kernel proper
Date
On Mon, 07 Aug 2000 19:26:30 GMT, 
"jack jack" <jack_khaki@hotmail.com> wrote:
>What is the best way to go about calling a kernel module's function(s) from
>within the kernel itself?

The module has to register its functions in some list when the module
is loaded and unregister on unload. Kernel code cannot access module
code by name because that forces the code to be linked with the kernel.
As an example, see any fs module for [un]register_filesystem.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.299 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site