drm/i810: remove the BKL
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Jan 2011 22:17:15 +0000 (23:17 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Feb 2011 02:15:04 +0000 (12:15 +1000)
commit1f692a14cbfbeb11f9a9c16f25c8ecb8ab50d3d5
tree4f9ab3542cb556e526f99644d82061ac503f6943
parent7f50684717511d30bba180902105c4cd4efca732
drm/i810: remove the BKL

SMP i810 systems were practically nonexistent and the configuration
was not officially supported by Intel at the time when Pentium-III
was common.

With this change, it is still possible to build a distribution kernel
that has support for SMP and includes the i810 driver without the BKL.
As a precaution, check for the theoretical SMP case at run time and
refuse to load the driver.

We also need to disable CONFIG_PREEMPT builds for this driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/i810/i810_dma.c
drivers/gpu/drm/i810/i810_drv.c