Commit f78f1043 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Remove unnecessary asm/hardware.h includes

asm/hardware.h is not required for the majority of processor support
files, ioremap support, mm initialisation, acorn IO support, nor
the debug code (which picks up its machine specific includes via
debug-macros.S)
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent bfe65704
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/hardware.h>
.text .text
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
*/ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/hardware.h>
.text .text
.align .align
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <linux/initrd.h> #include <linux/initrd.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/hardware.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/tlb.h> #include <asm/tlb.h>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/hardware.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/hardware.h>
/* /*
* This is the maximum size of an area which will be invalidated * This is the maximum size of an area which will be invalidated
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/hardware.h>
/* /*
* This is the maximum size of an area which will be invalidated * This is the maximum size of an area which will be invalidated
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/hardware.h>
/* /*
* Function: arm720_proc_init (void) * Function: arm720_proc_init (void)
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/hardware.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "proc-macros.S" #include "proc-macros.S"
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/hardware.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "proc-macros.S" #include "proc-macros.S"
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/hardware.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "proc-macros.S" #include "proc-macros.S"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/hardware.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "proc-macros.S" #include "proc-macros.S"
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/procinfo.h> #include <asm/procinfo.h>
#include <asm/hardware.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment