percpu: remove per_cpu__ prefix.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Oct 2009 13:34:15 +0000 (22:34 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 29 Oct 2009 13:34:15 +0000 (22:34 +0900)
commitdd17c8f72993f9461e9c19250e3f155d6d99df22
treec33eedf0cf2862e9feeb796e94d49a2ccdce0149
parent390dfd95c5df1ab3921dd388d11b2aee332c3f2c
percpu: remove per_cpu__ prefix.

Now that the return from alloc_percpu is compatible with the address
of per-cpu vars, it makes sense to hand around the address of per-cpu
variables.  To make this sane, we remove the per_cpu__ prefix we used
created to stop people accidentally using these vars directly.

Now we have sparse, we can use that (next patch).

tj: * Updated to convert stuff which were missed by or added after the
      original patch.

    * Kill per_cpu_var() macro.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
24 files changed:
arch/blackfin/mach-common/entry.S
arch/cris/arch-v10/kernel/entry.S
arch/cris/arch-v32/mm/mmu.S
arch/ia64/include/asm/percpu.h
arch/ia64/kernel/ia64_ksyms.c
arch/ia64/mm/discontig.c
arch/microblaze/include/asm/entry.h
arch/parisc/lib/fixup.S
arch/powerpc/platforms/pseries/hvCall.S
arch/sparc/kernel/nmi.c
arch/sparc/kernel/rtrap_64.S
arch/x86/include/asm/percpu.h
arch/x86/include/asm/system.h
arch/x86/kernel/apic/nmi.c
arch/x86/kernel/head_32.S
arch/x86/kernel/vmlinux.lds.S
arch/x86/xen/xen-asm_32.S
include/asm-generic/percpu.h
include/linux/percpu-defs.h
include/linux/percpu.h
include/linux/vmstat.h
kernel/rcutorture.c
kernel/trace/trace.c
kernel/trace/trace_functions_graph.c