parisc: Extend disabled preemption in copy_user_page
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 25 Jul 2017 21:23:35 +0000 (17:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 01:59:40 +0000 (18:59 -0700)
commitf0d23fa632430cee981ea2b662b52c62915fc9bc
tree7e7ce976bd19a3ff2e9cf800a39ec34b8f69bb46
parentafe9fc012bc1ba720d83959af3918de501fda3d5
parisc: Extend disabled preemption in copy_user_page

commit 56008c04ebc099940021b714da2d7779117cf6a7 upstream.

It's always bothered me that we only disable preemption in
copy_user_page around the call to flush_dcache_page_asm.
This patch extends this to after the copy.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/cache.c