Skip to content

Commit

Permalink
percpu_counter.h: comment code for better readability
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
netoptimizer authored and Jiri Kosina committed Feb 5, 2013
1 parent ffca80b commit 7fa4cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/percpu_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7fa4cf9

Please sign in to comment.