]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit012d3ca8d85bf3ae5278ba897dd1ca3999247107
treec36528a3dff3b5ce5adfdb0f99097e2e1e827df2
parenta09c17a6fdad9ae5b5ea1c3383080f84ec76ab20
[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