Re: [PATCH 3/4] x86_64: Fold pda into per cpu area

From: Christoph Lameter
Date: Mon Jun 09 2008 - 19:18:44 EST


On Wed, 4 Jun 2008, Jeremy Fitzhardinge wrote:

> > %gs:[&per_cpu_xxxx - __per_cpu_start]
> >
>
> Unfortunately that doesn't actually work, because you can't have a reloc with
> two variables.

That is just a conceptual discussion. __per_cpu_start is 0 with the zero
based patch. And thus this reduces to

%gs[&per_cpu_xxx]

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/