[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] 2.6.6-rc2 Allow architectures to reenable interrupts on contended spinlocks

    > +#define _raw_spin_lock(lock) _raw_spin_lock_flags(lock, 0)
    > +#else
    > +#define _raw_spin_lock_flags(lock, flags) do { (void)flags; _raw_spin_lock(lock); } while(0)
    > +#endif

    Looks good, except as paulus noted that using 0 for flags in the
    _raw_spin_lock() case is wrong, since 0 is a valid flags value
    for some archs that could mean anything...


    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:02    [W:0.018 / U:23.672 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site