Re: [PATCH 2.5.x, 2.4.x ...] very small

From: Brian Gerst (bgerst@didntduck.org)
Date: Fri Feb 21 2003 - 10:16:03 EST


javaman wrote:
> A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> it replace "IFF" with "IF" ;-)
>
> bye,
> Paolo
>
> --- Documentation/spinlocks.txt.orig Fri Feb 21 15:02:01 2003
> +++ Documentation/spinlocks.txt Fri Feb 21 15:02:44 2003
> @@ -136,7 +136,7 @@
>
> If you have a case where you have to protect a data structure across
> several CPU's and you want to use spinlocks you can potentially use
> -cheaper versions of the spinlocks. IFF you know that the spinlocks are
> +cheaper versions of the spinlocks. IF you know that the spinlocks are
> never used in interrupt handlers, you can use the non-irq versions:
>
> spin_lock(&lock);
>

This is wrong. IFF means "If and only if".

--
				Brian Gerst

- 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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:33 EST