summaryrefslogtreecommitdiff
path: root/arch/arm/mm/discontig.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-01-03 17:39:34 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-03 17:39:34 +0000
commit78ff18a412da24a4b79c6a97000ef5e467e813da (patch)
tree901d67dc2c709b71fba37b37b901ea167cef21a2 /arch/arm/mm/discontig.c
parent9d4f13e531b4722fe40cc8e28c02a495bdd49267 (diff)
downloadlinux-3.10-78ff18a412da24a4b79c6a97000ef5e467e813da.tar.gz
linux-3.10-78ff18a412da24a4b79c6a97000ef5e467e813da.tar.bz2
linux-3.10-78ff18a412da24a4b79c6a97000ef5e467e813da.zip
[ARM] Cleanup ARM includes
arch/arm/kernel/entry-armv.S has contained a comment suggesting that asm/hardware.h and asm/arch/irqs.h should be moved into the asm/arch/entry-macro.S include. So move the includes to these two files as required. Add missing includes (asm/hardware.h, asm/io.h) to asm/arch/system.h includes which use those facilities, and remove asm/io.h from kernel/process.c. Remove other unnecessary includes from arch/arm/kernel, arch/arm/mm and arch/arm/mach-footbridge. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/discontig.c')
-rw-r--r--arch/arm/mm/discontig.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mm/discontig.c b/arch/arm/mm/discontig.c
index 0d097bb1bc4..1e560218950 100644
--- a/arch/arm/mm/discontig.c
+++ b/arch/arm/mm/discontig.c
@@ -9,10 +9,8 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-
#include <linux/module.h>
-#include <linux/mm.h>
-#include <linux/init.h>
+#include <linux/mmzone.h>
#include <linux/bootmem.h>
#if MAX_NUMNODES != 4 && MAX_NUMNODES != 16