linux/arch/s390
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
..
appldata [S390] pm: appldata power management callbacks 2009-06-16 10:31:15 +02:00
boot
crypto
hypfs [S390] fix hypfs build failure 2009-03-31 19:17:03 +02:00
include/asm s390: switch to dynamic percpu allocator 2009-06-24 15:13:53 +09:00
kernel linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
kvm [S390] uaccess: use might_fault() instead of might_sleep() 2009-06-12 10:27:33 +02:00
lib Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
math-emu
mm Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
oprofile
power [S390] s390: hibernation support for s390 2009-06-16 10:31:22 +02:00
defconfig [S390] update default configuration. 2009-04-23 13:58:18 +02:00
Kconfig s390: switch to dynamic percpu allocator 2009-06-24 15:13:53 +09:00
Kconfig.debug generic debug pagealloc: build fix 2009-04-02 19:04:48 -07:00
Makefile [S390] s390: hibernation support for s390 2009-06-16 10:31:22 +02:00