Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030435AbWHXS0u (ORCPT ); Thu, 24 Aug 2006 14:26:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030437AbWHXS0u (ORCPT ); Thu, 24 Aug 2006 14:26:50 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:33480 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1030435AbWHXS0t (ORCPT ); Thu, 24 Aug 2006 14:26:49 -0400 Date: Thu, 24 Aug 2006 11:26:42 -0700 (PDT) From: Christoph Lameter To: Dong Feng cc: linux-kernel@vger.kernel.org, ak@suse.de Subject: Re: Unnecessary Relocation Hiding? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 15 On Wed, 23 Aug 2006, Dong Feng wrote: > I have a question. Why shall we need a RELOC_HIDE() macro in the > definition of per_cpu()? Maybe the question is actually why we need > macro RELOC_HIDE() at all. I changed the following line in > include/asm-generic/percpu.h, from Guess it was copied from IA64 but the semantics were not preserved. I think it should either be changed the way you suggest or the implementation needs to be fixed to actually do a linker relocation. - 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/