summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-01-24 13:14:44 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-02-05 16:01:28 +1100
commitc13f4c4925775a6ea870006eb31d035621a9e373 (patch)
treeb603bb1d21f8322edd4156ff84bc25941239e729
parent67e0624dfacf93647a7562113cc62581151b75f6 (diff)
generic-dynamic-per-cpu-refcounting-sparse-fixes-fix
coding-style tweak Cc: Kent Overstreet <koverstreet@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--lib/percpu-refcount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c
index a2783687e086..d87ab9766edf 100644
--- a/lib/percpu-refcount.c
+++ b/lib/percpu-refcount.c
@@ -52,7 +52,8 @@ static void percpu_ref_alloc(struct percpu_ref *ref, unsigned long pcpu_count)
else
pr_debug("created");
} else {
-update_time: new = now;
+update_time:
+ new = now;
cmpxchg(&ref->pcpu_count, pcpu_count, new);
}
}