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]; linux-kernel@vger.kernel.org >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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/