diff options
author | 2009-03-06 14:33:59 +0900 | |
---|---|---|
committer | 2009-03-06 14:33:59 +0900 | |
commit | cafe8816b217b98dc3f268d3b77445da498beb4f (patch) | |
tree | 7ebbb4e9fc2c4f6ec0035170d4736aecc00d2501 /include/linux/interrupt.h | |
parent | percpu: improve first chunk initial area map handling (diff) | |
download | wireguard-linux-cafe8816b217b98dc3f268d3b77445da498beb4f.tar.xz wireguard-linux-cafe8816b217b98dc3f268d3b77445da498beb4f.zip |
percpu: use negative for auto for pcpu_setup_first_chunk() arguments
Impact: argument semantic cleanup
In pcpu_setup_first_chunk(), zero @unit_size and @dyn_size meant
auto-sizing. It's okay for @unit_size as 0 doesn't make sense but 0
dynamic reserve size is valid. Alos, if arch @dyn_size is calculated
from other parameters, it might end up passing in 0 @dyn_size and
malfunction when the size is automatically adjusted.
This patch makes both @unit_size and @dyn_size ssize_t and use -1 for
auto sizing.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions