s390: get_user_pages_fast() might sleep
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 15 Oct 2015 08:47:18 +0000 (10:47 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:24:15 +0000 (09:24 +0100)
commit406123517b5b3cd5855774f80d685cf393c950f6
treea497fa0a667d6143b8d8ffef02036d8c0a98b5ec
parentdb1c45154a82195ad0b4d45d0e330ebac6883b70
s390: get_user_pages_fast() might sleep

Let's annotate it correctly, so we directly get a warning if
we ever were to use it in atomic/preempt_disable/spinlock environment.

Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/gup.c