mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
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>
This commit is contained in:
parent
ffca80b556
commit
7fa4cf920c
@ -83,7 +83,7 @@ static inline int percpu_counter_initialized(struct percpu_counter *fbc)
|
|||||||
return (fbc->counters != NULL);
|
return (fbc->counters != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else /* !CONFIG_SMP */
|
||||||
|
|
||||||
struct percpu_counter {
|
struct percpu_counter {
|
||||||
s64 count;
|
s64 count;
|
||||||
|
Loading…
Reference in New Issue
Block a user