diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 06:34:42 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 06:34:42 -0400 |
commit | f2006e27396f55276f24434f56e208d86e7f9908 (patch) | |
tree | 71896db916d33888b4286f80117d3cac0da40e6d /lib/percpu_counter.c | |
parent | e399eb56a6110e13f97e644658648602e2b08de7 (diff) | |
parent | 9903883f1dd6e86f286b7bfa6e4b423f98c1cd9e (diff) |
Merge branch 'linus' into timers/urgent
Get upstream changes so we can apply fixes against them
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/percpu_counter.c')
-rw-r--r-- | lib/percpu_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index ba6085d9c741..1fc23a3277e1 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c | |||
@@ -80,8 +80,8 @@ void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) | |||
80 | if (count >= batch || count <= -batch) { | 80 | if (count >= batch || count <= -batch) { |
81 | raw_spin_lock(&fbc->lock); | 81 | raw_spin_lock(&fbc->lock); |
82 | fbc->count += count; | 82 | fbc->count += count; |
83 | __this_cpu_write(*fbc->counters, 0); | ||
84 | raw_spin_unlock(&fbc->lock); | 83 | raw_spin_unlock(&fbc->lock); |
84 | __this_cpu_write(*fbc->counters, 0); | ||
85 | } else { | 85 | } else { |
86 | __this_cpu_write(*fbc->counters, count); | 86 | __this_cpu_write(*fbc->counters, count); |
87 | } | 87 | } |