linux/arch
Tejun Heo 204fba4aa3 percpu: cleanup percpu array definitions
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: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph 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>
2009-06-24 15:13:45 +09:00
..
alpha linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
arm linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
avr32 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
blackfin linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
cris CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile. 2009-06-24 15:13:41 +09:00
frv linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
h8300 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
ia64 percpu: cleanup percpu array definitions 2009-06-24 15:13:45 +09:00
m32r linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68k linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68knommu linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
microblaze linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
mips linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
mn10300 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
parisc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
powerpc percpu: cleanup percpu array definitions 2009-06-24 15:13:45 +09:00
s390 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
sh linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
sparc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
um linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
x86 percpu: cleanup percpu array definitions 2009-06-24 15:13:45 +09:00
xtensa linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00