Re: 2.4.0-test11 - get_module_symbol() goes away, how to get mol_interface[]?


Subject: Re: 2.4.0-test11 - get_module_symbol() goes away, how to get mol_interface[]?
From: Samuel Rydh (samuel@ibrium.se)
Date: Fri Nov 24 2000 - 14:55:32 MST


On Fri, Nov 24, 2000 at 02:11:32PM -0700, Derrik Pates wrote:
> Subject says it all. I've been trying to figure out how to get the address
> of mol_interface using inter_module_get and inter_module_get_request, but
> it's not working. The get_module_symbol() call is no more. Anything we can
> do about it? Is there any other way to get the symbol?
>

Since the 2.2 kernel is never run-time patched, it is not necessary
to lookup the symbol manually - just use the variable directly (on 2.0
kernels, the symbol is defined if and only if the kernel is not
runtime patched).

A fix for this is in the MOL bitkeeper tree
(bk://waltari.theophys.kth.se:5000).

/Samuel

----------------------------------------------------------
 E-mail <samuel@ibrium.se> WWW: <http://www.ibrium.se>
  Phone/fax: (home) +46 8 4418431, (work) +46 8 7908470
----------------------------------------------------------



This archive was generated by hypermail 2a24 : Fri Nov 24 2000 - 14:55:39 MST