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

2004-01-21 Thread Alan Cox
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 sy

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

2004-01-20 Thread Adrian Bunk
On Wed, Jan 21, 2004 at 12:04:59AM +, Alan Cox wrote: > On Maw, 2004-01-20 at 21:24, Adrian Bunk wrote: > > I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n. > > This problem is not specific to -mm, and it always occurs when you > > include support for the 386 cpu (oposed to t

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

2004-01-20 Thread Alan Cox
On Maw, 2004-01-20 at 21:24, Adrian Bunk wrote: > I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n. > This problem is not specific to -mm, and it always occurs when you > include support for the 386 cpu (oposed to the 486 or later cpus) since > in this case X86_CMPXCHG=n and ther

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

2004-01-20 Thread Adrian Bunk
I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n. This problem is not specific to -mm, and it always occurs when you include support for the 386 cpu (oposed to the 486 or later cpus) since in this case X86_CMPXCHG=n and therefoore cmpxchg isn't defined in include/asm-i386/system