projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00d8b2
)
xtensa: fix kmap_prot definition
author
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 9 Dec 2014 00:04:24 +0000
(
03:04
+0300)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 9 Dec 2014 00:22:57 +0000
(
03:22
+0300)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/include/asm/highmem.h
b/arch/xtensa/include/asm/highmem.h
index 2c7901edffaf3a6b38714386294c633a8aa7d8c3..01cef6b40829adb87460f9b2b8d141853ed4f45d 100644
(file)
--- a/
arch/xtensa/include/asm/highmem.h
+++ b/
arch/xtensa/include/asm/highmem.h
@@
-25,7
+25,7
@@
#define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT)
#define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
-#define kmap_prot PAGE_KERNEL
+#define kmap_prot PAGE_KERNEL
_EXEC
#if DCACHE_WAY_SIZE > PAGE_SIZE
#define get_pkmap_color get_pkmap_color