Skip to content

Commit

Permalink
[PATCH] bootmem: remove useless headers inclusions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Franck Bui-Huu authored and Linus Torvalds committed Sep 26, 2006
1 parent bb0923a commit e786e86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 1 addition & 4 deletions include/linux/bootmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
#ifndef _LINUX_BOOTMEM_H
#define _LINUX_BOOTMEM_H

#include <asm/pgtable.h>
#include <asm/dma.h>
#include <linux/cache.h>
#include <linux/init.h>
#include <linux/mmzone.h>
#include <asm/dma.h>

/*
* simple boot-time physical memory area allocator.
Expand Down
10 changes: 3 additions & 7 deletions mm/bootmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

/*
Expand Down

0 comments on commit e786e86

Please sign in to comment.