Revised: [PATCH 5/11] Celleb: htab routines

Paul Mackerras paulus at samba.org
Thu Feb 8 15:09:06 EST 2007


Benjamin Herrenschmidt writes:

> On Wed, 2007-02-07 at 17:45 +0900, Ishizaki Kou wrote:
> 
> > +	local_irq_save(flags);
> > +	spin_lock(&beat_htab_lock);
> > +	dummy1 = beat_lpar_hpte_getword0(slot);
> > +
> 
> Sorry if I was not very clear... In that specific case, you can use
> spin_lock_irqsave(). The above works though, thus the patch can be
> merged, and we can do a cleanup patch on top later on to "fix it up"

I already merged the version of the patch that uses spin_lock_irqsave
and spin_unlock_irqrestore.  Please send a further patch on top of
that if anything needs to be changed.

Paul.



More information about the Linuxppc-dev mailing list