revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / mm / hash_utils_64.c
index 1eb64ba43a08eb294fc019697536369caf027a33..09dffe6efa46aeae84d62a922215f87fe0a8ca2d 100644 (file)
@@ -1122,7 +1122,7 @@ void hash_preload(struct mm_struct *mm, unsigned long ea,
        else
 #endif /* CONFIG_PPC_HAS_HASH_64K */
                rc = __hash_page_4K(ea, access, vsid, ptep, trap, local, ssize,
-                                   subpage_protection(mm, ea));
+                                   subpage_protection(pgdir, ea));
 
        /* Dump some info in case of hash insertion failure, they should
         * never happen so it is really useful to know if/when they do