X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2Fpercpu_counter.c;h=f8a3f1a829b8a9d767bed39c5138c7015380196b;hb=06ef93e1b8405acac6ec900564e3ad1a8e3a72b2;hp=f087105ed91454e054b4cf9c4da75a864e2b1edb;hpb=97d2eb13a019ec09cc1a7ea2d3705c0b117b3c0d;p=firefly-linux-kernel-4.4.55.git 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 @@ #include #include +#ifdef CONFIG_HOTPLUG_CPU static LIST_HEAD(percpu_counters); static DEFINE_MUTEX(percpu_counters_lock); +#endif #ifdef CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER