diff options
author | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:50 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:50 -0400 |
commit | 1d9d32572163b30be81dbe1409dfa7ea9763d0e8 (patch) | |
tree | a9ba62cffda9f77637ac509331cf6367075fd2c4 /include/linux/percpu.h | |
parent | 9a7737691e90d3cce0e5248f91826c50e5aa3fcf (diff) |
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>
Diffstat (limited to 'include/linux/percpu.h')
-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 be2fc8fb9b6f..0cfdd14d096a 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h | |||
@@ -79,7 +79,7 @@ typedef void (*pcpu_fc_map_fn_t)(void *ptr, size_t size, void *addr); | |||
79 | 79 | ||
80 | extern size_t __init pcpu_setup_first_chunk( | 80 | extern size_t __init pcpu_setup_first_chunk( |
81 | size_t static_size, size_t reserved_size, | 81 | size_t static_size, size_t reserved_size, |
82 | ssize_t dyn_size, size_t unit_size, | 82 | size_t dyn_size, size_t unit_size, |
83 | void *base_addr, const int *unit_map); | 83 | void *base_addr, const int *unit_map); |
84 | 84 | ||
85 | #ifdef CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK | 85 | #ifdef CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK |