diff options
Diffstat (limited to 'lib/percpu_counter.c')
-rw-r--r-- | lib/percpu_counter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index f087105ed914..f8a3f1a829b8 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c | |||
@@ -10,8 +10,10 @@ | |||
10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
11 | #include <linux/debugobjects.h> | 11 | #include <linux/debugobjects.h> |
12 | 12 | ||
13 | #ifdef CONFIG_HOTPLUG_CPU | ||
13 | static LIST_HEAD(percpu_counters); | 14 | static LIST_HEAD(percpu_counters); |
14 | static DEFINE_MUTEX(percpu_counters_lock); | 15 | static DEFINE_MUTEX(percpu_counters_lock); |
16 | #endif | ||
15 | 17 | ||
16 | #ifdef CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER | 18 | #ifdef CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER |
17 | 19 | ||