linux/arch
Tejun Heo 6074d5b0a3 percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk()
Impact: cleanup, more flexibility for first chunk init

Non-negative @dyn_size used to be allowed iff @unit_size wasn't auto.
This restriction stemmed from implementation detail and made things a
bit less intuitive.  This patch allows @dyn_size to be specified
regardless of @unit_size and swaps the positions of @dyn_size and
@unit_size so that the parameter order makes more sense (static,
reserved and dyn sizes followed by enclosing unit_size).

While at it, add @unit_size >= PCPU_MIN_UNIT_SIZE sanity check.

Signed-off-by: Tejun Heo <tj@kernel.org>
2009-03-10 16:27:48 +09:00
..
alpha alpha: fix typo in recent early vmalloc change 2009-03-01 16:03:16 +09:00
arm linker script: define __per_cpu_load on all SMP capable archs 2009-03-10 16:27:48 +09:00
avr32 Merge branch 'tj-percpu' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into core/percpu 2009-02-24 21:52:45 +01:00
blackfin percpu: clean up percpu constants 2009-03-06 14:33:58 +09:00
cris
frv
h8300
ia64 linker script: define __per_cpu_load on all SMP capable archs 2009-03-10 16:27:48 +09:00
m32r
m68k m68k: atari - Rename "mfp" to "st_mfp" 2009-02-22 09:23:02 -08:00
m68knommu
mips Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x86/setup-lzma', 'x86/signal' and 'x86/urgent' into x86/core 2009-03-04 02:22:31 +01:00
mn10300 Merge branch 'linus' into x86/apic 2009-02-22 20:05:19 +01:00
parisc
powerpc linker script: define __per_cpu_load on all SMP capable archs 2009-03-10 16:27:48 +09:00
s390 [S390] fix "mem=" handling in case of standby memory 2009-02-19 15:19:19 +01:00
sh sh: ap325rxa: Revert ov772x support. 2009-02-27 15:41:14 +09:00
sparc Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x86/setup-lzma', 'x86/signal' and 'x86/urgent' into x86/core 2009-03-04 02:22:31 +01:00
um uml: fix vde network backend in user mode linux 2009-02-20 17:57:48 -08:00
x86 percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk() 2009-03-10 16:27:48 +09:00
xtensa
.gitignore
Kconfig