diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-05-08 09:30:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 20:15:11 +0200 |
commit | d1ab824be43842ae7429ab1df37153e1cebb4d32 (patch) | |
tree | 346280ad807fa3b60f18861dac7a7da307568695 /Documentation/accounting | |
parent | Introduce a handy list_first_entry macro (diff) | |
download | linux-d1ab824be43842ae7429ab1df37153e1cebb4d32.tar.xz linux-d1ab824be43842ae7429ab1df37153e1cebb4d32.zip |
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>
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions