diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2014-06-04 16:10:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:54:11 -0700 |
commit | 850e9c69ca75f32aa9361a0edec6cad388a231b0 (patch) | |
tree | f5681c760e037804603e35efa064f7b2ba8d0f74 | |
parent | 7fc34a62ca4434a79c68e23e70ed26111b7a4cf8 (diff) | |
download | op-kernel-dev-850e9c69ca75f32aa9361a0edec6cad388a231b0.zip op-kernel-dev-850e9c69ca75f32aa9361a0edec6cad388a231b0.tar.gz |
mm: fix typo in comment in do_fault_around()
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 7049d39..e7ccbac 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -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; |