diff options
| author | Jesper Dangaard Brouer <brouer@redhat.com> | 2013-02-04 17:14:12 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2013-02-05 05:54:06 -0500 |
| commit | 7fa4cf920c36a4736b8fa7c0e262dcf292d0cd36 (patch) | |
| tree | 175b14b5ff2da461993485ef5e8c7c4a3c8a9abc /include/linux | |
| parent | ffca80b5567c5f4405b3316129aac6890a42750d (diff) | |
percpu_counter.h: comment code for better readability
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/percpu_counter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu_counter.h b/include/linux/percpu_counter.h index b9df9ed1adc0..d5dd4657c8d6 100644 --- 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) | |||
| 83 | return (fbc->counters != NULL); | 83 | return (fbc->counters != NULL); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | #else | 86 | #else /* !CONFIG_SMP */ |
| 87 | 87 | ||
| 88 | struct percpu_counter { | 88 | struct percpu_counter { |
| 89 | s64 count; | 89 | s64 count; |
