]> 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>
Thu, 13 Oct 2011 06:49:48 +0000 (17:49 +1100)
commit741402445e8e8606215c489111c90f989cf105d6
tree98f81ae140cb6da32d2a679b06001893a9f9811b
parentcebc65c13388db22253b8700dcc0072575b59301
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