]> 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>
Mon, 24 Oct 2011 14:58:57 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:08:07 +0000 (20:08 +1100)
commit9d41cf94bcb55b29f908f4c1d6c3f4c5432a0b1f
tree9f24489060d5755d9219b1883a4ecdd84f83ba87
parent042932d12a3ac93be11cb08605d3c39b2cb41e99
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