aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c1
-rw-r--r--mm/mmap.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index aede2ce3aba4..e8f63d9961ea 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -56,6 +56,7 @@
56#include <linux/swapops.h> 56#include <linux/swapops.h>
57#include <linux/elf.h> 57#include <linux/elf.h>
58 58
59#include <asm/io.h>
59#include <asm/pgalloc.h> 60#include <asm/pgalloc.h>
60#include <asm/uaccess.h> 61#include <asm/uaccess.h>
61#include <asm/tlb.h> 62#include <asm/tlb.h>
diff --git a/mm/mmap.c b/mm/mmap.c
index 8101de490c73..26892e346d8f 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -905,7 +905,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags,
905#endif /* CONFIG_PROC_FS */ 905#endif /* CONFIG_PROC_FS */
906 906
907/* 907/*
908 * The caller must hold down_write(current->mm->mmap_sem). 908 * The caller must hold down_write(&current->mm->mmap_sem).
909 */ 909 */
910 910
911unsigned long do_mmap_pgoff(struct file *file, unsigned long addr, 911unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,