From: Tejun Heo Date: Wed, 10 Mar 2010 09:56:10 +0000 (+0900) Subject: module: encapsulate percpu handling better and record percpu_size X-Git-Tag: v2.6.34-rc4~72^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=259354deaa;p=pandora-kernel.git module: encapsulate percpu handling better and record percpu_size Better encapsulate module static percpu area handling so that code outsidef of CONFIG_SMP ifdef doesn't deal with mod->percpu directly and add mod->percpu_size and record percpu_size in it. Both percpu fields are compiled out on UP. While at it, mark mod->percpu w/ __percpu. This is to prepare for is_module_percpu_address(). Signed-off-by: Tejun Heo Acked-by: Rusty Russell --- Reading git-diff-tree failed