From: Pavel V. Panteleev Date: Thu, 17 Jun 2010 08:07:25 +0000 (+0200) Subject: percpu: fix trivial bugs in pcpu_build_alloc_info() X-Git-Tag: v2.6.35-rc4~53^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a92d3ff9e5dbd958d8008a3e7a573e988e370ca3;p=pandora-kernel.git percpu: fix trivial bugs in pcpu_build_alloc_info() Fix the following two trivial bugs in pcpu_build_alloc_info() * we should memset group_cnt to 0 by size of group_cnt, not size of group_map (both are of the same size, so the bug isn't dangerous) * we can delete useless variable group_cnt_max. Signed-off-by: Pavel V. Panteleev Signed-off-by: Tejun Heo --- Reading git-diff-tree failed