Messages in this thread | | | Date | Thu, 9 Dec 1999 02:54:40 -0800 | From | Richard Henderson <> | Subject | Re: linux-2.3.31: drivers/char/drm/drmP.h does not allow 386 build |
| |
On Thu, Dec 09, 1999 at 05:37:20AM -0500, Rik Faith wrote: > I'll CC Richard Henderson, since this impacts i386 and Alpha kernel include > files. The other alternative is to implement the generic cmpxchg routine > for 386's using other instructions, but this seems like a waste of effort > if no one will ever use the routine.
A hacky solution is to modify drivers/char/Config.in to not allow DRM as something that could be built unless you've configured for !386.
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.
r~
- 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/
| |