• Tejun Heo's avatar
    percpu: make percpu symbols in xen unique · c6e22f9e
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
    Cc: Chris Wright <chrisw@sous-sol.org>
    c6e22f9e
time.c 11.8 KB