summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb_hash64.c
diff options
context:
space:
mode:
authorMichael Ellerman2015-03-25 10:11:57 +0100
committerMichael Ellerman2015-04-10 12:02:47 +0200
commit4f9c53c8cc76ed84e3bb0cca8c4ffa2b170d0239 (patch)
tree9592262236d4f0a520cb98e120bff69d4eb36e3d /arch/powerpc/mm/tlb_hash64.c
parentpowerpc/mm: Change setbat() to take a pgprot_t rather than flags (diff)
downloadkernel-qcow2-linux-4f9c53c8cc76ed84e3bb0cca8c4ffa2b170d0239.tar.gz
kernel-qcow2-linux-4f9c53c8cc76ed84e3bb0cca8c4ffa2b170d0239.tar.xz
kernel-qcow2-linux-4f9c53c8cc76ed84e3bb0cca8c4ffa2b170d0239.zip
powerpc: Fix compile errors with STRICT_MM_TYPECHECKS enabled
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [mpe: Fix the 32-bit code also] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/tlb_hash64.c')
-rw-r--r--arch/powerpc/mm/tlb_hash64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/tlb_hash64.c b/arch/powerpc/mm/tlb_hash64.c
index d2a94b85dbc2..c522969f012d 100644
--- a/arch/powerpc/mm/tlb_hash64.c
+++ b/arch/powerpc/mm/tlb_hash64.c
@@ -216,7 +216,7 @@ void __flush_hash_table_range(struct mm_struct *mm, unsigned long start,
continue;
pte = pte_val(*ptep);
if (hugepage_shift)
- trace_hugepage_invalidate(start, pte_val(pte));
+ trace_hugepage_invalidate(start, pte);
if (!(pte & _PAGE_HASHPTE))
continue;
if (unlikely(hugepage_shift && pmd_trans_huge(*(pmd_t *)pte)))