From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CE6E2B7BA3 for ; Tue, 27 Oct 2009 14:21:51 +1100 (EST) Subject: Re: [PATCH 10/16] percpu: make percpu symbols in powerpc unique From: Benjamin Herrenschmidt To: Tejun Heo In-Reply-To: <1255500125-3210-11-git-send-email-tj@kernel.org> References: <1255500125-3210-1-git-send-email-tj@kernel.org> <1255500125-3210-11-git-send-email-tj@kernel.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Oct 2009 14:19:49 +1100 Message-ID: <1256613589.11607.29.camel@pasglop> Mime-Version: 1.0 Cc: cl@linux-foundation.org, rusty@rustcorp.com.au, linux-kernel@vger.kernel.org, rostedt@goodmis.org, linuxppc-dev@ozlabs.org, mingo@redhat.com, Paul Mackerras , cebbert@redhat.com, hpa@zytor.com, tglx@linutronix.de, akpm@linux-foundation.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2009-10-14 at 15:01 +0900, Tejun Heo wrote: > This patch updates percpu related symbols in powerpc such that percpu > symbols are unique and don't clash with local symbols. This serves > two purposes of decreasing the possibility of global percpu symbol > collision and allowing dropping per_cpu__ prefix from percpu symbols. > > * arch/powerpc/kernel/perf_callchain.c: s/callchain/cpu_perf_callchain/ > > * arch/powerpc/kernel/setup-common.c: s/pvr/cpu_pvr/ > > * arch/powerpc/platforms/pseries/dtl.c: s/dtl/cpu_dtl/ > > * arch/powerpc/platforms/cell/interrupt.c: s/iic/cpu_iic/ > > Partly based on Rusty Russell's "alloc_percpu: rename percpu vars > which cause name clashes" patch. > > Signed-off-by: Tejun Heo > Acked-by: Arnd Bergmann > Cc: Rusty Russell Acked-by: Benjamin Herrenschmidt Cheers, Ben.