s390/mm: add __rcu annotations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 9 May 2017 11:44:43 +0000 (13:44 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:25:55 +0000 (16:25 +0200)
commitd12a3d603690ba84b7e3fd357f05b96e777d4630
tree2f22092366da708da5de9ca33f0349e549d79f1b
parentcb4ef3c20bd95e21dddc1101133d90ac7f049a53
s390/mm: add __rcu annotations

Add __rcu annotations so sparse correctly warns only if "slot" gets
derefenced without using rcu_dereference(). Right now we get warnings
because of the missing annotation:

arch/s390/mm/gmap.c:135:17: warning: incorrect type in assignment (different address spaces)
arch/s390/mm/gmap.c:135:17:    expected void **slot
arch/s390/mm/gmap.c:135:17:    got void [noderef] <asn:4>**

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/gmap.c