lkml.org 
[lkml]   [2001]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: 2.4.10 build failure - atomic_dec_and_lock export
    From
    Date
    Trond Myklebust <trond.myklebust@fys.uio.no> writes:

    |> >>>>> " " == Ian Grant <Ian.Grant@cl.cam.ac.uk> writes:
    |>
    |> > Trond,
    |> > 2.4.10 won't link with CONFIG_SMP and i386 CPU selected. I
    |> > believe the problem
    |> > lies in in the #ifndef atomic_dec_and_lock in
    |> > lib/dec_and_lock.c. As far as I can see this symbol is always
    |> > defined because it's exported.
    |>
    |> This patch looks very redundant.
    |>
    |> If you have CONFIG_SMP defined then atomic_dec_and_lock will never get
    |> defined

    Unless you use CONFIG_MODVERSIONS, which causes atomic_dec_and_lock to be
    versioned and defined as a macro via <linux/modversions.h>.

    Andreas.

    --
    Andreas Schwab "And now for something
    Andreas.Schwab@suse.de completely different."
    SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
    Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
    -
    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 13:03    [W:0.022 / U:0.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site