summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2007-10-16 23:29:23 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:55 -0700
commit4af3c9cc4fad54c3627e9afebf905aafde5690ed (patch)
tree655364e458b8734a86c632316f4b5a1518529c60 /mm/mmap.c
parent1a614f505193fcfc1b298643268a5db5b48e297f (diff)
downloadlinux-4af3c9cc4fad54c3627e9afebf905aafde5690ed.tar.gz
linux-4af3c9cc4fad54c3627e9afebf905aafde5690ed.tar.bz2
linux-4af3c9cc4fad54c3627e9afebf905aafde5690ed.zip
Drop some headers from mm.h
mm.h doesn't use directly anything from mutex.h and backing-dev.h, so remove them and add them back to files which need them. Cross-compile tested on many configs and archs. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 0d40e66c841b..9e685b9abcde 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -7,6 +7,7 @@
*/
#include <linux/slab.h>
+#include <linux/backing-dev.h>
#include <linux/mm.h>
#include <linux/shm.h>
#include <linux/mman.h>