lkml.org 
[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.230 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site