]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix sparse annotation of spin unlock macros in one case
authorPavel Roskin <proski@gnu.org>
Sat, 10 Feb 2007 09:46:37 +0000 (01:46 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 19:18:07 +0000 (11:18 -0800)
commitfedb8dffaf59bfc1c396a0a48fef20b4612911c3
treeefe63dd4feaccc0007c9dccadec057c0bca7d5d9
parentad85225e5766fed05235aa00f223e4c2d2645f2a
[PATCH] Fix sparse annotation of spin unlock macros in one case

SMP systems without premption and spinlock debugging enabled use unlock
macros that don't tell sparse that the lock is being released.  Add sparse
annotations in this case.

Signed-off-by: Pavel Roskin <proski@gnu.org>
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.h