From: Rob Clark Date: Thu, 19 Jan 2012 00:33:02 +0000 (-0600) Subject: staging: drm/omap: fix locking issue X-Git-Tag: v3.3-rc4~40^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b1247bd1c3ab6722acfa95213be9a16bfb664c;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed