percpu: make @dyn_size mandatory for pcpu_setup_first_chunk()
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)
commit1d9d32572163b30be81dbe1409dfa7ea9763d0e8
treea9ba62cffda9f77637ac509331cf6367075fd2c4
parent9a7737691e90d3cce0e5248f91826c50e5aa3fcf
percpu: make @dyn_size mandatory for pcpu_setup_first_chunk()

Now that all actual first chunk allocation and copying happen in the
first chunk allocators and helpers, there's no reason for
pcpu_setup_first_chunk() to try to determine @dyn_size automatically.
The only left user is page first chunk allocator.  Make it determine
dyn_size like other allocators and make @dyn_size mandatory for
pcpu_setup_first_chunk().

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