X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=lib%2Fpercpu_counter.c;h=f7ac68c4c375c6e7867bf06321ffd3f1959ce16b;hb=20e89767096392a2cb2404437d3d181b8827af38;hp=f736d67c64d740f2a6b26c52451db3e9d696df0b;hpb=252e0ba6b77dcfae448fa2fbaf796e8a83839e75;p=mirror_ubuntu-zesty-kernel.git 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); 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();