From: Tejun Heo Date: Thu, 29 Oct 2009 13:34:12 +0000 (+0900) Subject: percpu: remove some sparse warnings X-Git-Tag: v2.6.33-rc1~288^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f5e4816dbf38ce9488e611ca2296925c1e90d5e;p=pandora-kernel.git percpu: remove some sparse warnings Make the following changes to remove some sparse warnings. * Make DEFINE_PER_CPU_SECTION() declare __pcpu_unique_* before defining it. * Annotate pcpu_extend_area_map() that it is entered with pcpu_lock held, releases it and then reacquires it. * Make percpu related macros use unique nested variable names. * While at it, add pcpu prefix to __size_call[_return]() macros as to-be-implemented sparse annotations will add percpu specific stuff to these macros. Signed-off-by: Tejun Heo Reviewed-by: Christoph Lameter Cc: Rusty Russell --- Reading git-diff-tree failed