Re: [Dri-devel] [2.6 patch] disallow DRM on 386

From: Alan Cox
Date: Wed Jan 21 2004 - 13:01:27 EST


On Mer, 2004-01-21 at 00:28, Adrian Bunk wrote:
> > Fix system.h to always define cmpxchg.h and check its presence at
> > runtime when the DRM module loads, then you can build 386 kernels that
> > support DRI on higher machines.
> >
> > The problem isnt that cmpxchg definitely doesn't exist, so system.h is
> > wrong IMHO
>
> ???
>
> AFAIR cmpxchg wasn't present in cpus earlier than the 486.

This is not relevant to the discussion assuming you are talking about
kernels for 386 and higher as well as kernels solely for Intel 386. If
the kernel is for 386 and higher then the DRI modules should be built
but should check for cmpxchg at run time - as we do with many other
CPU features


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/