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)
committerHelge Deller <deller@gmx.de>
Tue, 25 Jul 2017 21:36:54 +0000 (23:36 +0200)
commit56008c04ebc099940021b714da2d7779117cf6a7
tree481921fdcfd0f2b964532baf1f7bd540809e3477
parentae7a609c34b6fb12328c553b5f9aab26ae74a28e
parisc: Extend disabled preemption in copy_user_page

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>
Cc: stable@vger.kernel.org # 4.9+
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/cache.c