]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - lib/percpu_counter.c
lib: make percpu_counter_add take s64
[mirror_ubuntu-zesty-kernel.git] / lib / percpu_counter.c
index f736d67c64d740f2a6b26c52451db3e9d696df0b..f7ac68c4c375c6e7867bf06321ffd3f1959ce16b 100644 (file)
@@ -14,9 +14,9 @@ static LIST_HEAD(percpu_counters);
 static DEFINE_MUTEX(percpu_counters_lock);
 #endif
 
-void __percpu_counter_add(struct percpu_counter *fbc, s32 amount, s32 batch)
+void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch)
 {
-       long count;
+       s64 count;
        s32 *pcount;
        int cpu = get_cpu();