powerp/mm: Update code comments
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 1 Mar 2016 07:29:17 +0000 (12:59 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Mar 2016 10:18:29 +0000 (21:18 +1100)
We are updating pte in those functions.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash64_4k.c
arch/powerpc/mm/hash64_64k.c

index e7c04542ba62255d7547f5e204724c5d85e46c4a..e3e76b929f33cb88f4e045f5f11ba61eff8b764f 100644 (file)
@@ -106,7 +106,7 @@ repeat:
                        }
                }
                /*
-                * Hypervisor failure. Restore old pmd and return -1
+                * Hypervisor failure. Restore old pte and return -1
                 * similar to __hash_page_*
                 */
                if (unlikely(slot == -2)) {
index ef6fac6d773c939b5b51d3601ccc047e9e21d76c..b2d659cf51c664f1379b8748feaa72146a146590 100644 (file)
@@ -188,7 +188,7 @@ repeat:
                }
        }
        /*
-        * Hypervisor failure. Restore old pmd and return -1
+        * Hypervisor failure. Restore old pte and return -1
         * similar to __hash_page_*
         */
        if (unlikely(slot == -2)) {
@@ -310,7 +310,7 @@ repeat:
                        }
                }
                /*
-                * Hypervisor failure. Restore old pmd and return -1
+                * Hypervisor failure. Restore old pte and return -1
                 * similar to __hash_page_*
                 */
                if (unlikely(slot == -2)) {