lkml.org 
[lkml]   [2004]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [2.6 patch] disallow DRM on 386
    Adrian Bunk <bunk@fs.tum.de> wrote:
    >
    > On Tue, Jan 20, 2004 at 11:44:03PM +0100, Diego Calleja wrote:
    > > 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.
    >
    > Yup, that's exactly the problem.
    >
    > Selecting CPU_386 in -mm4 or -mm5 or selecting M386 in other kernels
    > triggers it.
    >

    I'll remove 386 from the default CPU types as well.

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

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