]> 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>
Tue, 11 Oct 2011 08:44:06 +0000 (19:44 +1100)
commit50acfe580a487b830a7c957e9f300ab0d283930d
tree6183f990a9f596951560ae816007759500db23cd
parente770ecb68225fbbead6096139533b048177d84e1
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