lib: percpu_counter_add

s/percpu_counter_mod/percpu_counter_add/

Because its a better name, _mod implies modulo.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Peter Zijlstra
2007-10-16 23:25:42 -07:00
committed by Linus Torvalds
parent c4dc4beed2
commit aa0dff2d09
8 changed files with 17 additions and 17 deletions

View File

@ -14,7 +14,7 @@ static LIST_HEAD(percpu_counters);
static DEFINE_MUTEX(percpu_counters_lock);
#endif
void percpu_counter_mod(struct percpu_counter *fbc, s32 amount)
void percpu_counter_add(struct percpu_counter *fbc, s32 amount)
{
long count;
s32 *pcount;
@ -32,7 +32,7 @@ void percpu_counter_mod(struct percpu_counter *fbc, s32 amount)
}
put_cpu();
}
EXPORT_SYMBOL(percpu_counter_mod);
EXPORT_SYMBOL(percpu_counter_add);
/*
* Add up all the per-cpu counts, return the result. This is a more accurate