[lkml]   [2007]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 7/12] i386 sg: add support for chaining scatterlists
    On 5/10/07, Jens Axboe <> wrote:
    > [...]
    > +static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents,
    > + struct scatterlist *sgl)
    > +{
    > +#ifndef ARCH_HAS_SG_CHAIN
    > + BUG();
    > +#endif

    Hmmm ... so we better also make sure all users call this from within
    an "#ifdef ARCH_HAS_SG_CHAIN" themselves (or else make this a config
    option defined in the arch/.../defconfig of archs that support this
    and then make the calling code's Kconfig option "depends on ... &&

    (Just saw a previous thread, Andrew seems to have beaten me to this observation)
    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: 2007-05-10 15:27    [W:0.021 / U:6.636 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site