From: Tejun Heo Date: Thu, 29 Oct 2009 13:34:12 +0000 (+0900) Subject: percpu: make alloc_percpu() handle array types X-Git-Tag: v2.6.33-rc1~288^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ef291f46d795917f32a0f5975e2b76f6fe206a;p=pandora-kernel.git percpu: make alloc_percpu() handle array types alloc_percpu() couldn't handle array types like "int [100]" due to the way return type was casted. Fix it by using typeof() instead. Signed-off-by: Tejun Heo Reviewed-by: Frederic Weisbecker Reviewed-by: Christoph Lameter --- Reading git-diff-tree failed