mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
sparc64: Fix executable bit testing in set_pmd_at() paths.
[ Upstream commit 5b1e94fa43 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7f6073dcb4
commit
24924bc7e2
1 changed files with 9 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue