diff options
author | Rob Clark <rob@ti.com> | 2012-01-18 18:33:02 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 14:14:12 -0800 |
commit | c5b1247bd1c3ab6722acfa95213be9a16bfb664c (patch) | |
tree | 3ef9b02ee38d547cf00a7400186deee87e117214 /lib/sort.c | |
parent | a9e8d70c1ac6c9ccf6852c91e082e28249564e6e (diff) |
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 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions