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

From: Alan Cox (alan_at_lxorguk.ukuu.org.uk)
Date: 01/21/04

  • Next message: Benjamin Herrenschmidt: "Re: swsusp does not stop DMA properly during resume"
    To: Adrian Bunk <bunk@fs.tum.de>
    Date:	Wed, 21 Jan 2004 00:04:59 +0000
    
    

    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 therefoore cmpxchg isn't defined in
    > include/asm-i386/system.h .
    >
    > The patch below disallows DRM if X86_CMPXCHG=n.

    Ugly.

    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 system.h is
    wrong IMHO

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


  • Next message: Benjamin Herrenschmidt: "Re: swsusp does not stop DMA properly during resume"

    Relevant Pages

    • Re: [2.6 patch] let USB_{PEGASUS,USBNET} depend on NET_ETHERNET
      ... > Adrian Bunk wrote: ... >>instead of NET to fix this issue. ... The PEGASUS bit is the same. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] bttv-cards.c: #if 0 function bttv_reset_audio
      ... Adrian Bunk wrote: ... Looking at the comments and some old posts on the topic, ... this is the right fix? ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [2.6 patch] SENSORS_ATXP1 must select I2C_SENSOR
      ... Adrian Bunk wrote: ... > The patch below should fix it. ... Thanks a lot for this patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: net drivers depending on OBSOLETE
      ... On Maw, 2004-08-31 at 19:15, Adrian Bunk wrote: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.26-pre1: SCTP compile error
      ... On Thu, 26 Feb 2004, Adrian Bunk wrote: ... fl6_dst in struct flowi are pointers to struct in6_addr. ... I will work on a patch to fix these issues shortly. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)