Skip to content
Commit 9a773769 authored by Tejun Heo's avatar Tejun Heo
Browse files

percpu: drop @static_size from first chunk allocators



First chunk allocators assume percpu areas have been linked using one
of PERCPU_*() macros and depend on __per_cpu_load symbol defined by
those macros, so there isn't much point in passing in static area size
explicitly when it can be easily calculated from __per_cpu_start and
__per_cpu_end.  Drop @static_size from all percpu first chunk
allocators and helpers.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent f58dc01b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment