diff options
author | Tejun Heo <tj@kernel.org> | 2009-07-03 19:10:58 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-07-03 19:10:58 -0400 |
commit | 788e5abc5441e9046dd91c995c6f1f75bbd144bf (patch) | |
tree | 5ad49583625c81000759307f4928179f9aa9ca41 /include | |
parent | 79ba6ac825fac187894e236c9df1ba5fcbf53fd3 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/percpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index e5000343dd61..83bff053bd1c 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h | |||
@@ -69,7 +69,7 @@ extern size_t __init pcpu_setup_first_chunk(pcpu_get_page_fn_t get_page_fn, | |||
69 | 69 | ||
70 | extern ssize_t __init pcpu_embed_first_chunk( | 70 | extern ssize_t __init pcpu_embed_first_chunk( |
71 | size_t static_size, size_t reserved_size, | 71 | size_t static_size, size_t reserved_size, |
72 | ssize_t dyn_size, ssize_t unit_size); | 72 | ssize_t dyn_size); |
73 | 73 | ||
74 | /* | 74 | /* |
75 | * Use this to get to a cpu's version of the per-cpu object | 75 | * Use this to get to a cpu's version of the per-cpu object |