Merge branch 'for-3.2' of git://linux-nfs.org/~bfields/linux
[firefly-linux-kernel-4.4.55.git] / lib / percpu_counter.c
index f087105ed91454e054b4cf9c4da75a864e2b1edb..f8a3f1a829b8a9d767bed39c5138c7015380196b 100644 (file)
 #include <linux/module.h>
 #include <linux/debugobjects.h>
 
+#ifdef CONFIG_HOTPLUG_CPU
 static LIST_HEAD(percpu_counters);
 static DEFINE_MUTEX(percpu_counters_lock);
+#endif
 
 #ifdef CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER