Re: Exporting symbols from Modules to kernel code

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 10 Jan 1999 20:30:33 +0000 (GMT)


> But my application require that I access the functions from within
> the kernel. Specifically from kernel/drivers/block/ll_rw_blk.c and
> the fucntion add_request.
> When I try to compile the kernel it says that symbols function1 cannot
> be located.

> Is it possible to access symbols exported by modules inside the kernel ?

Not at link time. Since the function isnt loaded at that point. You can
however provide a kernel function that is exported to the module that changes
an indirect call - ie a pointer to a function, to the one you pass it

-
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/