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

Andi Kleen ak at suse.de
Thu Aug 16 01:43:51 EST 2007


On Wed, Aug 15, 2007 at 11:25:43AM -0300, Glauber de Oliveira Costa wrote:
> 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?

Move it to C code first.

-Andi



More information about the Lguest mailing list