lkml.org 
[lkml]   [2002]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Alpha update for 2.5.3
    First comment, the below is what Ingo suggested for
    sched_find_first_zero_bit. Note that this version is -before- the bit
    array changed from [I believe] 140 to 100 bits.

    Second comment, some of the bits in your patch are in 2.5.3-pre3. [but
    drivers/ide/ide-dma.c does not compile for me, unrelated to alpha...]

    > static inline int sched_find_first_zero_bit(unsigned long *b)
    > {
    > unsigned long rt;
    >
    > rt = b[0] & b[1];
    > if (unlikely(rt != -1UL))
    > return find_first_zero_bit(b, MAX_RT_PRIO);
    >
    > return ffz(b[2]) + MAX_RT_PRIO;
    > }


    --
    Jeff Garzik | "I went through my candy like hot oatmeal
    Building 1024 | through an internally-buttered weasel."
    MandrakeSoft | - goats.com
    -
    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:24    [W:0.020 / U:63.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site