diff options
author | Peter Zijlstra | 2016-11-14 18:03:11 +0100 |
---|---|---|
committer | Ingo Molnar | 2017-01-18 10:03:29 +0100 |
commit | 0a13cd1a05e7a549259d4f803d2ec2efda07ed7c (patch) | |
tree | 8d8799d8a46d827a689e9939d472654b307e16c8 /include/asm-generic | |
parent | 23b19ec3377924eb8f303880102e056e9214ba72 (diff) |
locking/atomic, kref: Implement kref_put_lock()
Because home-rolling your own is _awesome_, stop doing it. Provide
kref_put_lock(), just like kref_put_mutex() but for a spinlock.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions