RE: Kernel modules query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

>-----Original Message-----
>From: linux-kernel-owner@xxxxxxxxxxxxxxx 
>[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of linux lover
>Sent: Friday, February 18, 2005 1:36 AM
>To: kernelnewbies@xxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
>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.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux