lkml.org 
[lkml]   [2007]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] i386: fix early usage of atomic_add_return and local_add_return on real i386
    From
    Date
    On Tue, 2007-05-22 at 12:34 +0200, Andi Kleen wrote:
    > On Tuesday 22 May 2007 11:48, Thomas Gleixner wrote:
    > > The check (boot_cpu_data.x86 == 3) in atomic_add_return() and
    > > local_add_return() fails, when those operations are used before
    > > boot_cpu_data is filled in.
    > >
    > > Change the check to (boot_cpu_data.x86 <= 3) to fix this.
    >
    > That's a critical boot fix for 386, right?

    Yup. Hit me with some debug option enabled, but might happen anywhere
    else too.

    tglx


    -
    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: 2007-05-22 12:39    [W:0.232 / U:33.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site