projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpu
/
drm
/
omapdrm
/
omap_gem_helpers.c
diff --git
a/drivers/gpu/drm/omapdrm/omap_gem_helpers.c
b/drivers/gpu/drm/omapdrm/omap_gem_helpers.c
index e4a66a35fc6a9315bdd1bdbb64f77871d0ff58d4..f9eb679eb79b28764319f469726abf7b4147da01 100644
(file)
--- a/
drivers/gpu/drm/omapdrm/omap_gem_helpers.c
+++ b/
drivers/gpu/drm/omapdrm/omap_gem_helpers.c
@@
-40,7
+40,7
@@
struct page **_drm_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask)
int i, npages;
/* This is the shared memory object that backs the GEM resource */
- inode =
obj->filp->f_path.dentry->d_inode
;
+ inode =
file_inode(obj->filp)
;
mapping = inode->i_mapping;
npages = obj->size >> PAGE_SHIFT;