• Tejun Heo's avatar
    percpu: drop @static_size from first chunk allocators · 9a773769
    Tejun Heo authored
    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>
    9a773769
setup_percpu.c 9.89 KB