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)
commitff009ab6d4d4581b62fa055ab6233133aca25ab8
treef7a8ba6df8c05e353f3e4ac28524a330025c538f
parente00d8b2f447c02951306e3a474fc56c43e67f093
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