From: Tejun Heo Date: Fri, 6 Mar 2009 05:33:59 +0000 (+0900) Subject: percpu: use negative for auto for pcpu_setup_first_chunk() arguments X-Git-Tag: v2.6.30-rc1~639^2~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cafe8816b217b98dc3f268d3b77445da498beb4f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed