Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760822AbYFIXSn (ORCPT ); Mon, 9 Jun 2008 19:18:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754196AbYFIXSf (ORCPT ); Mon, 9 Jun 2008 19:18:35 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:56458 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753263AbYFIXSf (ORCPT ); Mon, 9 Jun 2008 19:18:35 -0400 Date: Mon, 9 Jun 2008 16:18:34 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Jeremy Fitzhardinge cc: Mike Travis , Ingo Molnar , Andrew Morton , David Miller , Eric Dumazet , linux-kernel@vger.kernel.org, Rusty Russell Subject: Re: [PATCH 3/4] x86_64: Fold pda into per cpu area In-Reply-To: <484691CB.6090809@goop.org> Message-ID: References: <20080604003018.538497000@polaris-admin.engr.sgi.com> <20080604003019.509483000@polaris-admin.engr.sgi.com> <484691CB.6090809@goop.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 18 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/