Files
linux/include/drm
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) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2017-01-14 11:37:18 +01:00
..
2017-01-14 11:37:18 +01:00
2016-06-21 22:10:55 +02:00
2016-09-19 15:04:15 +02:00
2016-11-09 13:55:13 +01:00
2016-11-15 23:33:48 +01:00
2016-06-21 22:10:55 +02:00
2016-09-19 15:04:15 +02:00
2016-09-19 15:04:15 +02:00
2016-05-06 16:04:48 +02:00
2015-08-12 12:24:05 -04:00
2016-12-08 13:42:57 +02:00
…