]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Document SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED deprecation
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 8 May 2007 07:30:22 +0000 (00:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:11 +0000 (11:15 -0700)
commitd1ab824be43842ae7429ab1df37153e1cebb4d32
tree346280ad807fa3b60f18861dac7a7da307568695
parentb5e618181a927210f8be1d3d2249d31904ba358d
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 <michael@ellerman.id.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/spinlock_types.h