]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cac696391474a5c51c76325079765b97a15189c
tree481921fdcfd0f2b964532baf1f7bd540809e3477
parent47de90a2bd5f255669381c36838c2acc82e3b017
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