drm: fix regression in drm locking since BKL removal.
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Aug 2010 22:55:28 +0000 (08:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 26 Aug 2010 23:10:28 +0000 (09:10 +1000)
commit08f2e669a81b5906adf6e4716f92d99d7966d224
treebe304dca3a8d141cfd6d27c40afd45aa1ea7b34a
parent12acd90f0b97a4ce4574ca1e951cbca026e92560
drm: fix regression in drm locking since BKL removal.

This locking path needs proper auditing but probably too late for changes at this point for 2.6.36, so lets go with the quick fix, which is to drop the lock around schedule.

Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_lock.c