percpu: make percpu symbols in xen unique
commitc6e22f9e3e99cc221fe01a0cacf94a9da8a59c31
authorTejun Heo <tj@kernel.org>
Thu, 29 Oct 2009 13:34:13 +0000 (29 22:34 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 29 Oct 2009 13:34:13 +0000 (29 22:34 +0900)
treef4ee55e7bb4a9d498c080dbd36bfe23be5232c0a
parentf16250669d78a32bdfb27cec4d791e85141e11e2
percpu: make percpu symbols in xen unique

This patch updates percpu related symbols in xen 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/x86/xen/smp.c, arch/x86/xen/time.c, arch/ia64/xen/irq_xen.c:
  add xen_ prefix to percpu variables

* arch/ia64/xen/time.c: add xen_ prefix to percpu variables, drop
  processed_ prefix and make them static

Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
which cause name clashes" patch.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
arch/ia64/xen/irq_xen.c
arch/ia64/xen/time.c
arch/x86/xen/smp.c
arch/x86/xen/time.c