[lkml]   [2004]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.9-rc1-mm4 sparc reiser4 build broken - undefined atomic_sub_and_test
    On Sun, Sep 12, 2004 at 03:12:35AM -0700, Paul Jackson wrote:
    > The final link fails with:
    > fs/built-in.o(.text+0x58618): In function `end_io_handler':
    > : undefined reference to `atomic_sub_and_test'
    > make[1]: *** [arch/sparc/boot/image] Error 1
    > The macro 'atomic_sub_and_test' is defined for more or less every other
    > arch, in various include/asm-*/atomic.h files, but not defined for
    > sparc.
    > This macro is used in:
    > fs/reiser4/flush_queue.c:
    > if (atomic_sub_and_test(bio->bi_vcnt, &fq->nr_submitted))
    > If I disable the config items:
    > then it builds ok (with the bogus #else removed from cachefs.h, as
    > already reported on lkml).

    I'm loath to add this for the sake of reiser4; I rather favor the use of
    portable constructs.

    -- wli
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:06    [W:0.020 / U:3.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site