]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix executable bit testing in set_pmd_at() paths.
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Apr 2014 01:55:01 +0000 (21:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 05:30:36 +0000 (22:30 -0700)
commit83fbdfb5f3768ffc215ff916ccc91d5c613a529f
tree1629696567bab71bd929bd764b2ffc69a916c20a
parentaef97836781b7dea564626dc2a7bf4567963e148
sparc64: Fix executable bit testing in set_pmd_at() paths.

This code was mistakenly using the exec bit from the PMD in all
cases, even when the PMD isn't a huge PMD.

If it's not a huge PMD, test the exec bit in the individual ptes down
in tlb_batch_pmd_scan().

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/tlb.c