summaryrefslogtreecommitdiff
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-25 23:31:06 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 08:48:45 -0700
commite786e86a542ccc1133f333402526ad00b9c088ae (patch)
treedb08d5e3fd398e9f22128a6867aa12497abe3e7c /mm/bootmem.c
parentbb0923a66820718f636736b22ce47372f79e3400 (diff)
downloadlwn-e786e86a542ccc1133f333402526ad00b9c088ae.tar.gz
lwn-e786e86a542ccc1133f333402526ad00b9c088ae.zip
[PATCH] bootmem: remove useless headers inclusions
Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Cc: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/bootmem.c')
-rw-r--r--mm/bootmem.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index 9083f5029673..e136c086fd98 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -8,17 +8,13 @@
* free memory collector. It's used to deal with reserved
* system memory and memory holes as well.
*/
-
-#include <linux/mm.h>
-#include <linux/kernel_stat.h>
-#include <linux/swap.h>
-#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/bootmem.h>
-#include <linux/mmzone.h>
#include <linux/module.h>
-#include <asm/dma.h>
+
+#include <asm/bug.h>
#include <asm/io.h>
+
#include "internal.h"
/*