diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:34:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:05 -0500 |
commit | 3cbd09e482ade50d212511d4693bd754d4d9dd55 (patch) | |
tree | 6827d179390beb9cf792a5049df6c2905bf182fe | |
parent | 91eebf40b3cb5abd76e813e17dbc320ff2ea3295 (diff) |
x86: cleanup ioremap includes
Get rid of the douplicate define of ISA_START/END_ADDRESS and use the
same headers in 32 and 64 bit code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/mm/ioremap_32.c | 15 | ||||
-rw-r--r-- | arch/x86/mm/ioremap_64.c | 13 |
2 files changed, 13 insertions, 15 deletions
diff --git a/arch/x86/mm/ioremap_32.c b/arch/x86/mm/ioremap_32.c index 30ff2586db1e..d43251c9c1c6 100644 --- a/arch/x86/mm/ioremap_32.c +++ b/arch/x86/mm/ioremap_32.c | |||
@@ -6,18 +6,17 @@ | |||
6 | * (C) Copyright 1995 1996 Linus Torvalds | 6 | * (C) Copyright 1995 1996 Linus Torvalds |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/vmalloc.h> | ||
10 | #include <linux/init.h> | 9 | #include <linux/init.h> |
11 | #include <linux/slab.h> | ||
12 | #include <linux/module.h> | ||
13 | #include <linux/io.h> | 10 | #include <linux/io.h> |
14 | #include <asm/fixmap.h> | 11 | #include <linux/module.h> |
12 | #include <linux/slab.h> | ||
13 | #include <linux/vmalloc.h> | ||
14 | |||
15 | #include <asm/cacheflush.h> | 15 | #include <asm/cacheflush.h> |
16 | #include <asm/tlbflush.h> | 16 | #include <asm/e820.h> |
17 | #include <asm/fixmap.h> | ||
17 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
18 | 19 | #include <asm/tlbflush.h> | |
19 | #define ISA_START_ADDRESS 0xa0000 | ||
20 | #define ISA_END_ADDRESS 0x100000 | ||
21 | 20 | ||
22 | /* | 21 | /* |
23 | * Remap an arbitrary physical address space into the kernel virtual | 22 | * Remap an arbitrary physical address space into the kernel virtual |
diff --git a/arch/x86/mm/ioremap_64.c b/arch/x86/mm/ioremap_64.c index bd962cc636c5..8862a19f39c8 100644 --- a/arch/x86/mm/ioremap_64.c +++ b/arch/x86/mm/ioremap_64.c | |||
@@ -6,18 +6,17 @@ | |||
6 | * (C) Copyright 1995 1996 Linus Torvalds | 6 | * (C) Copyright 1995 1996 Linus Torvalds |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/vmalloc.h> | ||
10 | #include <linux/init.h> | 9 | #include <linux/init.h> |
11 | #include <linux/slab.h> | ||
12 | #include <linux/module.h> | ||
13 | #include <linux/io.h> | 10 | #include <linux/io.h> |
11 | #include <linux/module.h> | ||
12 | #include <linux/slab.h> | ||
13 | #include <linux/vmalloc.h> | ||
14 | 14 | ||
15 | #include <asm/pgalloc.h> | ||
16 | #include <asm/fixmap.h> | ||
17 | #include <asm/tlbflush.h> | ||
18 | #include <asm/cacheflush.h> | 15 | #include <asm/cacheflush.h> |
19 | #include <asm/proto.h> | ||
20 | #include <asm/e820.h> | 16 | #include <asm/e820.h> |
17 | #include <asm/fixmap.h> | ||
18 | #include <asm/pgtable.h> | ||
19 | #include <asm/tlbflush.h> | ||
21 | 20 | ||
22 | unsigned long __phys_addr(unsigned long x) | 21 | unsigned long __phys_addr(unsigned long x) |
23 | { | 22 | { |