]> git.baikalelectronics.ru Git - kernel.git/commit
lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef
authorGlauber Costa <glommer@parallels.com>
Tue, 1 Nov 2011 00:12:34 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:56 +0000 (17:30 -0700)
commita8933e8c2d19921cfc69a6ccac6667376bde6d44
tree6cbd16eaf869da1c5acdb4f89ab3c3da0f2e3c55
parent7f1724eb6380d09bc0b1eb41d906ceb3f08477af
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/percpu_counter.c