]> 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, 28 Sep 2011 00:50:46 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:41 +0000 (14:53 +1000)
commitf17f687d67b90709f62da6ff7b0c3c578e442cc4
tree9a8652deeb2b364220fe95dcc9cd7684dcfac227
parentedd208003b0fb6d9578da1d615787db07d444e0e
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 <>
lib/percpu_counter.c