aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Weiyi <weiyi.huang@gmail.com>2008-10-20 18:43:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 19:17:42 -0400
commita50c22eed593f474e75f693381e4d42e81762de8 (patch)
tree1190f39419d8068a6b735c0d9761ef80f1a12543
parente798ba57e9f423dddbf1bdeb20a62bdd0593890f (diff)
mm: remove duplicated #include's
Removed duplicated #include <linux/vmalloc.h> in mm/vmalloc.c and "internal.h" in mm/memory.c. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/memory.c2
-rw-r--r--mm/vmalloc.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 3a6c4a658325..164951c47305 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -64,8 +64,6 @@
64 64
65#include "internal.h" 65#include "internal.h"
66 66
67#include "internal.h"
68
69#ifndef CONFIG_NEED_MULTIPLE_NODES 67#ifndef CONFIG_NEED_MULTIPLE_NODES
70/* use the per-pgdat data instead for discontigmem - mbligh */ 68/* use the per-pgdat data instead for discontigmem - mbligh */
71unsigned long max_mapnr; 69unsigned long max_mapnr;
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 0797589d51f8..65ae576030da 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -17,7 +17,6 @@
17#include <linux/interrupt.h> 17#include <linux/interrupt.h>
18#include <linux/seq_file.h> 18#include <linux/seq_file.h>
19#include <linux/debugobjects.h> 19#include <linux/debugobjects.h>
20#include <linux/vmalloc.h>
21#include <linux/kallsyms.h> 20#include <linux/kallsyms.h>
22#include <linux/list.h> 21#include <linux/list.h>
23#include <linux/rbtree.h> 22#include <linux/rbtree.h>