git: drm: Implement kref_get_unless_zero()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Feb 22 07:15:31 PST 2014


commit 1dca50141d93bd25ce733eb877343172b089f68d
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Feb 22 16:09:12 2014 +0100

    drm: Implement kref_get_unless_zero()
    
    Fortunately the existing atomic_add_unless() function is able to manage
    all the complexity of this algorithm by itself.

Summary of changes:
 sys/dev/drm/include/linux/kref.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1dca50141d93bd25ce733eb877343172b089f68d


-- 
DragonFly BSD source repository


More information about the Commits mailing list