Commit 2cb54e8493615484fd3e29f1f51d96201706b419
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge tag 'xtensa-for-next-20141213' of git://github.com/jcmvbkbc/linux-xtensa into for_next
Xtensa improvements for 3.19: - fix permissions for kmapped pages so that copy_to_user_page works with them; - add power management menu to Kconfig to allow use of runtime PM.
Showing 2 changed files Side-by-side Diff
arch/xtensa/Kconfig
arch/xtensa/include/asm/highmem.h
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) |
26 | 26 | #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) |
27 | 27 | |
28 | -#define kmap_prot PAGE_KERNEL | |
28 | +#define kmap_prot PAGE_KERNEL_EXEC | |
29 | 29 | |
30 | 30 | #if DCACHE_WAY_SIZE > PAGE_SIZE |
31 | 31 | #define get_pkmap_color get_pkmap_color |