]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix kmap_prot definition
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 9 Dec 2014 00:04:24 +0000 (03:04 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 9 Dec 2014 00:22:57 +0000 (03:22 +0300)
commit5e873e842502378d0bcd4b78a4701f5a71d622b1
treef7a8ba6df8c05e353f3e4ac28524a330025c538f
parent65672d952ba344ea00671316e9bbfc17135921f1
xtensa: fix kmap_prot definition

Replace PAGE_KERNEL with PAGE_KERNEL_EXEC to allow copy_to_user_page
invalidate icache for pages mapped with kmap.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/highmem.h