]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: missing idr_preload_end in drm_gem_flink_ioctl
authorArtem Savkov <artem.savkov@gmail.com>
Wed, 20 Feb 2013 02:16:13 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:45 +0000 (16:53 +1100)
commit9cd0583b2f1d759f9f4e6a4194071f0a391aaf2e
treec435288db00153d19a9a211831fd926263098a12
parent5bfbb26402489f844d8b198a8ebc9487edd84064
drm: missing idr_preload_end in drm_gem_flink_ioctl

Added missing idr_preload_end calls in drm_gem_flink_ioctl().  Without
those preemption stays disabled resulting in lots of "scheduling while
atomic" BUGs.

Signed-off-by: Artem Savkov <artem.savkov@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/gpu/drm/drm_gem.c