Re: [PATCH] Document SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED deprecation

From: Ingo Molnar
Date: Wed Apr 18 2007 - 02:14:12 EST



* Michael Ellerman <michael@xxxxxxxxxxxxxx> wrote:

> Apparently it's not cool anymore to use SPIN/RW_LOCK_UNLOCKED. There's
> some mention of this in Documentation/spinlocks.txt, but that only
> talks about dynamic initialisation.
>
> A comment in the code mentioning the preferred usage would be good
> IMHO.
>
> Signed-off-by: Michael Ellerman <michael@xxxxxxxxxxxxxx>

thanks,

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/