]> git.karo-electronics.de Git - linux-beck.git/commitdiff
percpu_counter.h: comment code for better readability
authorJesper Dangaard Brouer <brouer@redhat.com>
Mon, 4 Feb 2013 22:14:12 +0000 (23:14 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 5 Feb 2013 10:54:06 +0000 (11:54 +0100)
Help people reading the percpu_counter code, to notice the ifdef
else statement that seperates CONFIG_SMP.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/percpu_counter.h

index b9df9ed1adc0620f59feb402278d727fcfd8b426..d5dd4657c8d64133eaa2e31ca745770b7b81af4b 100644 (file)
@@ -83,7 +83,7 @@ static inline int percpu_counter_initialized(struct percpu_counter *fbc)
        return (fbc->counters != NULL);
 }
 
-#else
+#else /* !CONFIG_SMP */
 
 struct percpu_counter {
        s64 count;