Hello,
I want to know can a variable be exported by a linux kernel
modules? How can i make a variable getting assigned in kernel module
available to other kernel modules?
regards,
linux.lover.
Hi
>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]] On Behalf Of linux lover
>Sent: Friday, February 18, 2005 1:36 AM
>To: [email protected]; [email protected]
>Subject: Kernel modules query
>
>Hello,
> I want to know can a variable be exported by a linux kernel
>modules? How can i make a variable getting assigned in kernel module
>available to other kernel modules?
>regards,
>linux.lover.
EXPORT_SYMBOL(var_name);
For example see arch/i386/kernel/time.c & jiffies_64 (2.6.10 source).
Aleks.