projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc34a6
)
mm: fix typo in comment in do_fault_around()
author
Kirill A. Shutemov
<kirill.shutemov@linux.intel.com>
Wed, 4 Jun 2014 23:10:45 +0000
(16:10 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:11 +0000
(16:54 -0700)
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>
mm/memory.c
patch
|
blob
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index
7049d39
..
e7ccbac
100644
(file)
--- 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 nea
re
st.
*/
max_pgoff = pgoff - ((start_addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) +
PTRS_PER_PTE - 1;