From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:34:05 +0000 (+0100) Subject: x86: cleanup ioremap includes X-Git-Tag: v2.6.25-rc1~1143^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cbd09e482ade50d212511d4693bd754d4d9dd55;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/ioremap_32.c b/arch/x86/mm/ioremap_32.c index 30ff258..d43251c 100644 --- a/arch/x86/mm/ioremap_32.c +++ b/arch/x86/mm/ioremap_32.c @@ -6,18 +6,17 @@ * (C) Copyright 1995 1996 Linus Torvalds */ -#include #include -#include -#include #include -#include +#include +#include +#include + #include -#include +#include +#include #include - -#define ISA_START_ADDRESS 0xa0000 -#define ISA_END_ADDRESS 0x100000 +#include /* * 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 bd962cc..8862a19 100644 --- a/arch/x86/mm/ioremap_64.c +++ b/arch/x86/mm/ioremap_64.c @@ -6,18 +6,17 @@ * (C) Copyright 1995 1996 Linus Torvalds */ -#include #include -#include -#include #include +#include +#include +#include -#include -#include -#include #include -#include #include +#include +#include +#include unsigned long __phys_addr(unsigned long x) {