diff --git a/[refs] b/[refs] index 5e03f2a0b8ba..54d8069bbcc6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 47dbd7d90ad80edb67822f327241edcab8f3f46f +refs/heads/master: 3c8ed88974472b928489e3943616500ce2ad0cd8 diff --git a/trunk/include/linux/kref.h b/trunk/include/linux/kref.h index fa9907a541e2..d66c88a3b48c 100644 --- a/trunk/include/linux/kref.h +++ b/trunk/include/linux/kref.h @@ -29,7 +29,6 @@ struct kref { static inline void kref_init(struct kref *kref) { atomic_set(&kref->refcount, 1); - smp_mb(); } /** @@ -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(); } /**