percpu: drop @static_size from first chunk allocators
authorTejun Heo <tj@kernel.org>
Fri, 14 Aug 2009 06:00:50 +0000 (15:00 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 14 Aug 2009 06:00:50 +0000 (15:00 +0900)
commit9a7737691e90d3cce0e5248f91826c50e5aa3fcf
treedbe43cb2d2a19539ca3fb58c52e4cbd68b51d24b
parentf58dc01ba2ca9fe3ab2ba4ca43d9c8a735cf62d8
percpu: drop @static_size from first chunk allocators

First chunk allocators assume percpu areas have been linked using one
of PERCPU_*() macros and depend on __per_cpu_load symbol defined by
those macros, so there isn't much point in passing in static area size
explicitly when it can be easily calculated from __per_cpu_start and
__per_cpu_end.  Drop @static_size from all percpu first chunk
allocators and helpers.

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/kernel/setup_percpu.c
include/linux/percpu.h
mm/percpu.c