[Devel] Re: [PATCH] Race between cat /proc/kallsyms and rmmod

Andi Kleen andi at firstfloor.org
Wed Mar 14 05:11:06 PDT 2007


Alexey Dobriyan <adobriyan at sw.ru> writes:
> 
> --- a/kernel/kallsyms.c
> +++ b/kernel/kallsyms.c
> @@ -40,6 +40,8 @@ extern const u16 kallsyms_token_index[] 
>  
>  extern const unsigned long kallsyms_markers[] __attribute__((weak));
>  
> +extern struct mutex module_mutex;

No externs in .c files

-Andi




More information about the Devel mailing list