[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: module_list in 2.6 kernels
On Sun, Jun 06, 2004 at 07:25:27PM -0700, Karthik M wrote:
> Hi everyone,
>
> I am looking for the equivalent of the
>
> struct module *module_list
>
> of 2.4 kernels in the 2.6 kernels, but not able to
> find it. I found the line:
>
> /* Member of list of modules */
> struct list_head list;
>
> inside the module.h file but i am not sure how to
> access the list structure, any pointers on how to
> access the list of the modules inside the 2.6 kernels
> would be really helpful.
Why do you need this?
It's not a global symbol anymore, it's called just "modules" and can be
found at the top of the kernel/module.c file, if you really want to poke
around with it.
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/