Make locked tasklet handling more robust.
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 2 Oct 2006 09:04:42 +0000 (11:04 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 2 Oct 2006 09:04:42 +0000 (11:04 +0200)
commit3a16e615cabfed18b1891a732e7243ef41dc0ad0
tree7e1ae6d6c458c37b308a24d492f428ba63d4951e
parentd58389968124191a546a14b42ef84edc224be23d
Make locked tasklet handling more robust.

Initialize the spinlock unconditionally when struct drm_device is filled in,
and return early in drm_locked_tasklet() if the driver doesn't support IRQs.
linux-core/drm_irq.c
linux-core/drm_stub.c