Commit 2cb54e8493615484fd3e29f1f51d96201706b419

Authored by Chris Zankel

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

... ... @@ -436,6 +436,12 @@
436 436  
437 437 endmenu
438 438  
  439 +menu "Power management options"
  440 +
  441 +source "kernel/power/Kconfig"
  442 +
  443 +endmenu
  444 +
439 445 source "net/Kconfig"
440 446  
441 447 source "drivers/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