percpu: cleanup percpu array definitions
Tejun Heo authored
Currently, the following three different ways to define percpu arrays
are in use.

1. DEFINE_PER_CPU(elem_type[array_len], array_name);
2. DEFINE_PER_CPU(elem_type, array_name[array_len]);
3. DEFINE_PER_CPU(elem_type, array_name)[array_len];

Unify to #1 which correctly separates the roles of the two parameters
and thus allows more flexibility in the way percpu variables are
defined.

[ Impact: cleanup ]
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reviewed-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: linux-mm@kvack.org
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: David S. Miller <davem@davemloft.net>
204fba4a
Name Last commit Last update
..
40x_mmu.c powerpc/40x: Limit allocable DRAM during early mapping
44x_mmu.c powerpc: rework 4xx PTE access and TLB miss
Makefile powerpc: Add configurable -Werror for arch/powerpc
dma-noncoherent.c powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency.
fault.c Move FAULT_FLAG_xyz into handle_mm_fault() callers
fsl_booke_mmu.c powerpc/mm: Tweak PTE bit combination definitions
gup.c powerpc/mm: Properly wire up get_user_pages_fast() on 32-bit
hash_low_32.S powerpc/mm: Fix _PAGE_COHERENT support on classic ppc32 HW
hash_low_64.S powerpc: Free a PTE bit on ppc64 with 64K pages
hash_native_64.c powerpc: Add 2.06 tlbie mnemonics
hash_utils_64.c powerpc: Fix crash on CPU hotplug
hugetlbpage.c mm: report the MMU pagesize in /proc/pid/smaps
init_32.c powerpc: Minor cleanups of kernel virt address space definitions
init_64.c powerpc: Shield code specific to 64-bit server processors
mem.c powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency.
mmap_64.c powerpc/mm: Rename arch/powerpc/kernel/mmap.c to mmap_64.c
mmu_context_hash32.c powerpc/mm: Split mmu_context handling
mmu_context_hash64.c powerpc/mm: Split mmu_context handling
mmu_context_nohash.c powerpc/mm: Fix a AB->BA deadlock scenario with nohash MMU context lock
mmu_decl.h Merge commit 'kumar/kumar-next' into next
numa.c powerpc: Set init_bootmem_done on NUMA platforms as well
pgtable.c powerpc: Do not assert pte_locked for hugepage PTE entries
pgtable_32.c powerpc: Minor cleanups of kernel virt address space definitions
pgtable_64.c powerpc: Wire up /proc/vmallocinfo to our ioremap()
ppc_mmu_32.c powerpc/mm: Tweak PTE bit combination definitions
slb.c
slb_low.S
slice.c
stab.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c
tlb_nohash.c
tlb_nohash_low.S