lkml.org 
[lkml]   [2004]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 2.4] back port msleep(), msleep_interruptible()
    maximilian attems wrote:
    > diff -puN include/linux/delay.h~add-msleep-2.4 include/linux/delay.h
    > --- a/include/linux/delay.h~add-msleep-2.4 2004-10-30 22:48:46.000000000 +0200
    > +++ b/include/linux/delay.h 2004-10-30 22:48:46.000000000 +0200
    > @@ -34,4 +34,12 @@ extern unsigned long loops_per_jiffy;
    > ({unsigned long msec=(n); while (msec--) udelay(1000);}))
    > #endif
    >
    > +void msleep(unsigned int msecs);
    > +unsigned long msleep_interruptible(unsigned int msecs);
    > +
    > +static inline void ssleep(unsigned int seconds)
    [...]
    > +static inline unsigned int jiffies_to_msecs(const unsigned long j)

    > +static inline unsigned int jiffies_to_usecs(const unsigned long j)

    > +static inline unsigned long msecs_to_jiffies(const unsigned int m)


    I'm pretty sure more than one of these symbols clashes with a symbol
    defined locally in a driver. I like the patch but we can't apply it
    until the impact on existing code is evaluated.

    Jeff


    -
    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:07    [W:0.067 / U:0.944 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site