]> git.baikalelectronics.ru Git - kernel.git/commit
drm: drop i386 verification
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 23 Jul 2014 15:26:40 +0000 (17:26 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Aug 2014 20:43:37 +0000 (06:43 +1000)
commit19a3d4db08b40d796af6b061ca92c54a62d52958
tree586a71ec5fb8de7de34490061acd250f8c03a5dc
parente358430fde4e8ac40c90ecf8fd41da2ffa482d30
drm: drop i386 verification

Linux doesn't run on i386, anymore. See:

    commit 5f96a9463389000e71dce94bd13cffaaaed9f977
    Author: H. Peter Anvin <hpa@linux.intel.com>
    Date:   Wed Nov 28 11:50:24 2012 -0800

        x86, 386 removal: Remove CONFIG_CMPXCHG

        All 486+ CPUs support CMPXCHG, so remove the fallback 386 support
        code.

Furthermore, as the commit-message states, all 486+ CPUs support the
CMPXCHG instruction and thus even legacy DRM can run fine.

Drop the now superfluous "x86 == 3" check.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fops.c