gem: protect idr_pre with the spinlock
authorJerome Glisse <glisse@freedesktop.org>
Sun, 16 Nov 2008 17:13:16 +0000 (18:13 +0100)
committerJerome Glisse <glisse@freedesktop.org>
Sun, 16 Nov 2008 17:13:16 +0000 (18:13 +0100)
commitf46aba43329786c9b2776e82af31d90e1c67eae0
treed7e78e61e884383949dfad2f20b703481e520d44
parent7270731a8b7ebe11fe6df4f368c2ed613a530b52
gem: protect idr_pre with the spinlock

There seems to be an issue if we don't protect idr_pre with
the spinlock we use for idr operations.
linux-core/drm_gem.c