]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm: fix typo in comment in do_fault_around()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 22 May 2014 00:43:26 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:26 +0000 (10:43 +1000)
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c

index cde42fb890ab2b0ee8bed32bb91935ebc2524f81..3f4e697b864653f77f54a8b022cd61b5d389eb98 100644 (file)
@@ -2832,7 +2832,7 @@ static void do_fault_around(struct vm_area_struct *vma, unsigned long address,
 
        /*
         *  max_pgoff is either end of page table or end of vma
-        *  or fault_around_pages() from pgoff, depending what is neast.
+        *  or fault_around_pages() from pgoff, depending what is nearest.
         */
        max_pgoff = pgoff - ((start_addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) +
                PTRS_PER_PTE - 1;