linux_old1/drivers/misc/genwqe
Peter Zijlstra 2c935bc572 locking/atomic, kref: Add kref_read()
Since we need to change the implementation, stop exposing internals.

Provide kref_read() to read the current reference count; typically
used for debug messages.

Kills two anti-patterns:

	atomic_read(&kref->refcount)
	kref->refcount.counter

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>
2017-01-14 11:37:18 +01:00
..
Kconfig GenWQE: Add support for EEH error recovery 2014-07-09 14:14:27 -07:00
Makefile GenWQE Enable driver 2013-12-18 16:51:15 -08:00
card_base.c GenWQE: Change default access rights for device node 2016-08-31 14:22:49 +02:00
card_base.h genwqe: use pci_irq_allocate_vectors 2016-10-31 04:00:09 -06:00
card_ddcb.c misc/genwqe: ensure zero initialization 2016-09-27 12:43:35 +02:00
card_ddcb.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00
card_debugfs.c GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_dev.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
card_sysfs.c GenWQE: use kobj_to_dev() 2016-02-08 14:57:30 -08:00
card_utils.c genwqe: use pci_irq_allocate_vectors 2016-10-31 04:00:09 -06:00
genwqe_driver.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00