[PATCH] powerpc: Add missing icache flushes for hugepages
[safe/jmp/linux-2.6] / arch / powerpc / mm / hash_utils_64.c
index 706e8a6..a33583f 100644 (file)
@@ -601,7 +601,7 @@ int hash_page(unsigned long ea, unsigned long access, unsigned long trap)
        /* Handle hugepage regions */
        if (unlikely(in_hugepage_area(mm->context, ea))) {
                DBG_LOW(" -> huge page !\n");
-               return hash_huge_page(mm, access, ea, vsid, local);
+               return hash_huge_page(mm, access, ea, vsid, local, trap);
        }
 
        /* Get PTE and page size from page tables */