diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-02-07 12:32:08 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-02-14 15:26:39 +1100 |
commit | b998ed8a09d361c5ac525a8a86a63a1252ee26a8 (patch) | |
tree | 8cdb27b1425cbd6cdb72f3fae9de30ff897cd1f0 /include | |
parent | b27632c454a9c406b1a56041e9ff26f489dfee85 (diff) |
percpu-refcount: sparse fixes
Here's some more fixes, the percpu refcount code is now sparse clean for
me. It's kind of ugly, but I'm not sure it's really any uglier than it
was before. Seem reasonable?
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/percpu-refcount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h index 1268010afd54..922860474f00 100644 --- a/include/linux/percpu-refcount.h +++ b/include/linux/percpu-refcount.h @@ -6,7 +6,7 @@ struct percpu_ref { atomic64_t count; - unsigned __percpu *pcpu_count; + unsigned long pcpu_count; }; void percpu_ref_init(struct percpu_ref *ref); |