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)
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>

No differences found