Re: linux-2.3.31: drivers/char/drm/drmP.h does not allow 386 build

Martin Mares (mj@suse.cz)
Thu, 9 Dec 1999 12:29:15 +0100


Hello,

> The best solution is to modify the illegal instruction trap to
> emulate the missing insn on x86 via cli+sti. This would be useful
> from userland as well. It doesn't win speed awards, but it's easy
> correctness without punishing Real Computers.

I've not looked at the code yet, but I guess it does use cmpxchg
to avoid races with card DMA, not with interrupts, hence cli+sti
won't help.

Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"The best way to accelerate Windows is at 9.8 m / sec^2"

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