[Lguest] [PATCH 21/25][V3] export cpu_gdt_descr

Glauber de Oliveira Costa glommer at gmail.com
Thu Aug 16 00:25:43 EST 2007


On 8/15/07, Andi Kleen <ak at suse.de> wrote:
> > +#ifdef CONFIG_PARAVIRT
> > +extern unsigned long *cpu_gdt_descr;
>
> No externs in .c files
>
> Normally they should be where the variable is defined
> anyways.
Given that this  variable is defined in head.S, what do you propose?
AFAICT, this is the very duty of this file (x8664_syms.c), and the
extern is also used in other symbols like the memcpy family

-- 
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."



More information about the Lguest mailing list