aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mrst.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-06-27 18:49:59 +0200
committerTejun Heo <tj@kernel.org>2010-06-27 18:49:59 +0200
commit4ba6ce250e406b20bcd6f0f3aed6b3d80965e6c2 (patch)
tree3ae4cdd7c53626dca141bd32037a524a2bc3643c /arch/x86/kernel/mrst.c
parentpercpu: fix first chunk match in per_cpu_ptr_to_phys() (diff)
downloadlinux-dev-4ba6ce250e406b20bcd6f0f3aed6b3d80965e6c2.tar.xz
linux-dev-4ba6ce250e406b20bcd6f0f3aed6b3d80965e6c2.zip
percpu: make @dyn_size always mean min dyn_size in first chunk init functions
In pcpu_build_alloc_info() and pcpu_embed_first_chunk(), @dyn_size was ssize_t, -1 meant auto-size, 0 forced 0 and positive meant minimum size. There's no use case for forcing 0 and the upcoming early alloc support always requires non-zero dynamic size. Make @dyn_size always mean minimum dyn_size. While at it, make pcpu_build_alloc_info() static which doesn't have any external caller as suggested by David Rientjes. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: David Rientjes <rientjes@google.com>
Diffstat (limited to 'arch/x86/kernel/mrst.c')
0 files changed, 0 insertions, 0 deletions