diff options
author | Rob Clark <rob@ti.com> | 2012-01-19 00:33:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 22:14:12 (GMT) |
commit | c5b1247bd1c3ab6722acfa95213be9a16bfb664c (patch) | |
tree | 3ef9b02ee38d547cf00a7400186deee87e117214 /drivers/staging/zcache | |
parent | a9e8d70c1ac6c9ccf6852c91e082e28249564e6e (diff) | |
download | linux-fsl-qoriq-c5b1247bd1c3ab6722acfa95213be9a16bfb664c.tar.xz |
staging: drm/omap: fix locking issue
The create/free mmap offset code must be synchronized. Yet only some
callers of omap_gem_mmap_offset() held struct_mutex. Leading to various
crashes around drm_mm_insert_helper_range(). (In the free-object path,
which is currently the only place we drm_gem_free_mmap_offset(),
struct_mutex is already held.)
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/zcache')
0 files changed, 0 insertions, 0 deletions