Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280065
b: refs/heads/master
c: 3c8ed88
h: refs/heads/master
i:
  280063: 1c30545
v: v3
  • Loading branch information
Peter Zijlstra authored and Greg Kroah-Hartman committed Dec 13, 2011
1 parent 4d32630 commit 8ecfcea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47dbd7d90ad80edb67822f327241edcab8f3f46f
refs/heads/master: 3c8ed88974472b928489e3943616500ce2ad0cd8
2 changes: 0 additions & 2 deletions trunk/include/linux/kref.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ struct kref {
static inline void kref_init(struct kref *kref)
{
atomic_set(&kref->refcount, 1);
smp_mb();
}

/**
Expand All @@ -40,7 +39,6 @@ static inline void kref_get(struct kref *kref)
{
WARN_ON(!atomic_read(&kref->refcount));
atomic_inc(&kref->refcount);
smp_mb__after_atomic_inc();
}

/**
Expand Down

0 comments on commit 8ecfcea

Please sign in to comment.