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)
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

Simple merge