projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'doc-4.11-images' of git://git.lwn.net/linux into drm-misc-next
[linux-2.6-microblaze.git]
/
include
/
drm
/
drm_framebuffer.h
diff --git
a/include/drm/drm_framebuffer.h
b/include/drm/drm_framebuffer.h
index
45410ba
..
5244f05
100644
(file)
--- a/
include/drm/drm_framebuffer.h
+++ b/
include/drm/drm_framebuffer.h
@@
-258,7
+258,7
@@
static inline void drm_framebuffer_unreference(struct drm_framebuffer *fb)
*/
static inline uint32_t drm_framebuffer_read_refcount(struct drm_framebuffer *fb)
{
- return
atomic_read(&fb->base.refcount
.refcount);
+ return
kref_read(&fb->base
.refcount);
}
/**