From: Michael Ellerman Date: Tue, 8 May 2007 07:30:22 +0000 (-0700) Subject: Document SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED deprecation X-Git-Tag: v2.6.22-rc1~642 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ab824be43842ae7429ab1df37153e1cebb4d32;p=pandora-kernel.git Document SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED deprecation 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. [akpm@linux-foundation.org: add reason for deprecation] Signed-off-by: Michael Ellerman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed