]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef
authorGlauber Costa <glommer@parallels.com>
Wed, 5 Oct 2011 00:43:36 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:32:25 +0000 (17:32 +1100)
commit003241ecb3389dedd696155c75e513bbbd6ce486
tree2850bc103c79a94b60294d7812c86e92f2cd065c
parent0f91ffe8b4a5afe708d13f9ef9742a276ed1d76d
lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef

These variables are only used when CONFIG_HOTPLUG_CPU is enabled, they are
ifdef'ed everywhere else.  So don't define them when CONFIG_HOTPLUG_CPU is
not enabled.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/percpu_counter.c