linux/arch
Tejun Heo 9a0ef2923a s390: switch to dynamic percpu allocator
64bit s390 shares the same problem with alpha regarding percpu symbol
addressing from modules.  It needs assembly magic to force GOTENT
reference when building module as the percpu address will be outside
the usual 4G range from the module text.  This can be solved by using
weak percpu variable definitions.

This patch makes s390 use weak definitions and switch to dynamic
percpu allocator.  Please note that weak attribute is not added if
!SMP as percpu variables behave exactly the same as normal variables
on UP.

Compile tested.  Generation of GOTENT reference verified.

This patch is based on Ivan Kokshaysky's alpha percpu patch.

[ Impact: use dynamic percpu allocator ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
2009-06-24 15:13:53 +09:00
..
alpha alpha: switch to dynamic percpu allocator 2009-06-24 15:13:52 +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 percpu: use DEFINE_PER_CPU_SHARED_ALIGNED() 2009-06-24 15:13:47 +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: use DEFINE_PER_CPU_SHARED_ALIGNED() 2009-06-24 15:13:47 +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 s390: switch to dynamic percpu allocator 2009-06-24 15:13:53 +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: clean up percpu variable definitions 2009-06-24 15:13:48 +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