lkml.org 
[lkml]   [2005]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] RT: update rcurefs for RT

    * Thomas Gleixner <tglx@linutronix.de> wrote:

    > On Thu, 2005-09-29 at 08:20 -0700, Daniel Walker wrote:
    > > +static inline void init_rcurefs(void)
    > > +{
    > > + int i;
    > > + for (i=0; i < RCUREF_HASH_SIZE; i++)
    > > + __rcuref_hash[i] = SPIN_LOCK_UNLOCKED(__rcuref_hash[i]);
    >
    > Maybe a simple
    >
    > spin_lock_init(&__rcuref_hash[i]);
    >
    > would work all over the place ?

    yep.

    Ingo
    -
    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-09-30 10:39    [W:0.052 / U:122.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site