projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffca80b
)
percpu_counter.h: comment code for better readability
author
Jesper Dangaard Brouer
<brouer@redhat.com>
Mon, 4 Feb 2013 22:14:12 +0000
(23:14 +0100)
committer
Jiri 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/percpu_counter.h
b/include/linux/percpu_counter.h
index b9df9ed1adc0620f59feb402278d727fcfd8b426..d5dd4657c8d64133eaa2e31ca745770b7b81af4b 100644
(file)
--- a/
include/linux/percpu_counter.h
+++ b/
include/linux/percpu_counter.h
@@
-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;