aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/nx/nx-sha512.c
diff options
context:
space:
mode:
authorPeter Zijlstra2016-11-14 18:06:19 +0100
committerIngo Molnar2017-02-10 09:04:19 +0100
commit10383aea2f445bce9b2a2b308def08134b438c8e (patch)
tree64fea6972561d5a8899c2da53646771e65507734 /drivers/crypto/nx/nx-sha512.c
parentf405df5de3170c00e5c54f8b7cf4766044a032ba (diff)
kref: Implement 'struct kref' using refcount_t
Use the refcount_t 'atomic' type to implement 'struct kref', this makes kref more robust by bringing saturation semantics. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/crypto/nx/nx-sha512.c')
0 files changed, 0 insertions, 0 deletions