Re: Calling a module method from inside the kernel - is it possible Inbox

2012-01-21 Thread Rajat Sharma
well you can do that by exporting a kernel interface for registering
your callbacks and your module can register static function pointers
to be called by kernel.

-Rajat

On Sat, Jan 21, 2012 at 5:42 AM, SaNtosh kuLkarni
 wrote:
> Can you be more specific...wot do u mean by inside the kerneldo like
> want to call a function written inside another kernel module
>
>
> On Sat, Jan 21, 2012 at 3:38 PM, Kevin Wilson  wrote:
>>
>> Hi, all,
>>
>> I want to calling a module method  (I am developing the module)
>> from inside the kernel. How can I achieve it ?
>>
>> (BTW, I know that vice versa is possible by EXPORT_SYMBOL.)
>>
>> rgs,
>> Kevin
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Regards,
> Santosh Kulkarni
>
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Calling a module method from inside the kernel - is it possible Inbox

2012-01-21 Thread SaNtosh kuLkarni
Can you be more specific...wot do u mean by inside the kerneldo like
want to call a function written inside another kernel module

On Sat, Jan 21, 2012 at 3:38 PM, Kevin Wilson  wrote:

> Hi, all,
>
> I want to calling a module method  (I am developing the module)
> from inside the kernel. How can I achieve it ?
>
> (BTW, I know that vice versa is possible by EXPORT_SYMBOL.)
>
> rgs,
> Kevin
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
*Regards,
Santosh Kulkarni*
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Calling a module method from inside the kernel - is it possible Inbox

2012-01-21 Thread Kevin Wilson
Hi, all,

I want to calling a module method  (I am developing the module)
from inside the kernel. How can I achieve it ?

(BTW, I know that vice versa is possible by EXPORT_SYMBOL.)

rgs,
Kevin

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies