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

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Feb 8 07:39:45 EST 2007


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"

Ben.





More information about the Linuxppc-dev mailing list