aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/percpu_counter.c')
-rw-r--r--lib/percpu_counter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c
index f736d67c64d7..f7ac68c4c375 100644
--- a/lib/percpu_counter.c
+++ b/lib/percpu_counter.c
@@ -14,9 +14,9 @@ static LIST_HEAD(percpu_counters);
14static DEFINE_MUTEX(percpu_counters_lock); 14static DEFINE_MUTEX(percpu_counters_lock);
15#endif 15#endif
16 16
17void __percpu_counter_add(struct percpu_counter *fbc, s32 amount, s32 batch) 17void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch)
18{ 18{
19 long count; 19 s64 count;
20 s32 *pcount; 20 s32 *pcount;
21 int cpu = get_cpu(); 21 int cpu = get_cpu();
22 22