On Mon, 17 Aug 2009, SandeepKsinha wrote:

>
>
> On Mon, Aug 17, 2009 at 3:37 PM, krushnaal pai <[email protected]> wrote:
>       i want to create global variables /pointers in kernel which should
>       be accessible to all kernel modules ( i.e  all kernel modules
>       should be sharing the same copy )
>
>       how to?
>
>
> EXPORT_SYMBOL(variable);
>
> This should allow all the kernel modules to access the same.

  i discuss that very topic here:

http://linux.com/learn/linux-training/31161-the-kernel-newbie-corner-kernel-symbols-whats-available-to-your-module-what-isnt

rday
--
========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

Reply via email to