sparc64: Define pte_accessible()
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 00:06:16 +0000 (16:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 00:06:16 +0000 (16:06 -0800)
commit4a9d1946b0135b15d901d7e7c9796d36f352aaea
tree2c5edf477500773fd406ae5622bce07350385aae
parent6cb9c3697585c47977c42c5cc1b9fc49247ac530
sparc64: Define pte_accessible()

We can elide flush_tlb_*() calls when _PAGE_VALID is clear
as that is the test used to determine whether or not to
queue up a TLB flush in set_pte_at().

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtable_64.h