Re: [2.6 patch] disallow DRM on 386

From: Diego Calleja (grundig_at_teleline.es)
Date: 01/20/04

  • Next message: Pavel Machek: "swsusp does not stop DMA properly during resume"
    Date:	Tue, 20 Jan 2004 23:44:03 +0100
    To: Adrian Bunk <bunk@fs.tum.de>
    
    

    El Tue, 20 Jan 2004 22:24:21 +0100 Adrian Bunk <bunk@fs.tum.de> escribió:

    > 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.

    I got a "cmpxchg not defined" error when compiling the drm stuff in -mm5.
    When I looked at the configuration, I saw that all the cpus types had been selected
    (I didn't even realize of your stuuf and menuconfig put the defaults). I removed
    all types of cpus except PIII and it compiled.
    -
    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: Pavel Machek: "swsusp does not stop DMA properly during resume"

    Relevant Pages

    • Re: EXPORT_SYMBOL question
      ... However when i'm compiling the module, ... > symbol underfined warning. ... When I load the module it works as expected. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Problems with Firewire and -mm kernels
      ... resulting dmesg so that you can see yourself, ... I got one warning when I was compiling sbp2.c (it was something like an ... Most of the sbp2 changes seem to be a new ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Still have build error on 2.6.2 fc/proc/array.c
      ... binnutils 2.14 ... procps 3.1.15 ... Then compiling new 2.6.2 kernel still fails wi the following. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: i8042 access timings
      ... > Compiling USB 1.1 support does the very same thing as specifying ... touchpad not work if it does the very same thing as usb-handoff? ... that it is responding one command too late. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: sporadic "freezes" on amd64 (GA K8NF)
      ... >> deciding whether this is a software problem or a hardware problem. ... Although - compiling tends to be ... Compiling the kernel. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)