Messages in this thread | | | Subject | Re: [PATCH 10/16] percpu: make percpu symbols in powerpc unique | From | Benjamin Herrenschmidt <> | Date | Tue, 27 Oct 2009 14:19:49 +1100 |
| |
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 <tj@kernel.org> > Acked-by: Arnd Bergmann <arnd@arndb.de> > Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cheers, Ben.
| |