RE: Kernel modules query

From: Aleksey Gorelov
Date: Fri Feb 18 2005 - 12:03:17 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/