Tejun Heo cafe8816b2 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>
2009-03-06 14:33:59 +09:00
..
2008-12-29 11:27:46 +02:00
2009-01-06 15:59:14 -08:00
2008-07-28 16:30:21 -07:00
2009-02-18 15:37:54 -08:00
2008-06-12 18:05:41 -07:00
2009-01-01 10:12:29 +10:30
2009-02-11 14:25:35 -08:00
2009-02-25 12:21:42 -08:00
2009-02-12 17:50:46 +02:00
2009-02-12 17:50:46 +02:00
2009-02-12 17:50:46 +02:00
2008-11-30 10:03:35 -08:00
2009-01-08 08:31:05 -08:00
2009-01-08 08:31:08 -08:00
2009-02-20 17:57:48 -08:00
2009-02-21 14:17:17 -08:00
2009-01-01 10:12:29 +10:30