Re: [Dri-devel] cmpxchg [Was: Slack 8.1 Radeon 8500 64MB]

2002-11-01 Thread Alan Cox
On Thu, 2002-10-31 at 21:59, Alan Hourihane wrote: > That's debateable. > > In current kernels, if it's not defined you've more than likely > built your kernel with i386 rather than i486 or later, because > building for i486 or later automatically turns on CONFIG_X86_CMPXCHG. > I understand that i

Re: [Dri-devel] cmpxchg [Was: Slack 8.1 Radeon 8500 64MB]

2002-10-31 Thread Alan Hourihane
That's debateable. In current kernels, if it's not defined you've more than likely built your kernel with i386 rather than i486 or later, because building for i486 or later automatically turns on CONFIG_X86_CMPXCHG. I understand that i386's don't have that instruction. Maybe we need to put in ou

[Dri-devel] cmpxchg [Was: Slack 8.1 Radeon 8500 64MB]

2002-10-31 Thread José Fonseca
This user had troubles compiling the DRM from a snapshot due to missing definition of cmpxchg. Here are the relevant bits of the log: cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_A