percpu: drop @unit_size from embed first chunk allocator
authorTejun Heo <tj@kernel.org>
Fri, 3 Jul 2009 23:10:58 +0000 (08:10 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 3 Jul 2009 23:10:58 +0000 (08:10 +0900)
commit788e5abc5441e9046dd91c995c6f1f75bbd144bf
tree5ad49583625c81000759307f4928179f9aa9ca41
parent79ba6ac825fac187894e236c9df1ba5fcbf53fd3
percpu: drop @unit_size from embed first chunk allocator

The only extra feature @unit_size provides is making dead space at the
end of the first chunk which doesn't have any valid usecase.  Drop the
parameter.  This will increase consistency with generalized 4k
allocator.

James Bottomley spotted missing conversion for the default
setup_per_cpu_areas() which caused build breakage on all arcsh which
use it.

[ Impact: drop unused code path ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_percpu.c
include/linux/percpu.h
mm/percpu.c