]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Add Sparse annotations to SRCU wrapper functions in rcutorture
authorJosh Triplett <josh@freedesktop.org>
Thu, 7 Dec 2006 04:40:19 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:44 +0000 (08:39 -0800)
commit712a9d85a20e988e504cfe9fca1acc051dd05c1e
treec36528a3dff3b5ce5adfdb0f99097e2e1e827df2
parent2fe14940c83e56f0aa4b2fda32836a5f3c671524
[PATCH] Add Sparse annotations to SRCU wrapper functions in rcutorture

The SRCU wrapper functions srcu_torture_read_lock and
srcu_torture_read_unlock in rcutorture intentionally change the SRCU
context; annotate them accordingly, to avoid a warning.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/rcutorture.c