aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:33:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:08 -0500
commit306c142f99caef5a30a0d61a39a956c069941b63 (patch)
tree285f37a2483d56978c34f0126740347258b90da8
parente91a3b4353577c7d38b77dd1293fc3d0a173e8e6 (diff)
x86: pat: e820 cleanup
NOP change. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/mm/ioremap_64.c4
-rw-r--r--include/asm-x86/e820.h3
-rw-r--r--include/asm-x86/e820_64.h5
3 files changed, 9 insertions, 3 deletions
diff --git a/arch/x86/mm/ioremap_64.c b/arch/x86/mm/ioremap_64.c
index b03db4ca9cad..6fbd3c7932e0 100644
--- a/arch/x86/mm/ioremap_64.c
+++ b/arch/x86/mm/ioremap_64.c
@@ -19,6 +19,7 @@
19#include <asm/tlbflush.h> 19#include <asm/tlbflush.h>
20#include <asm/cacheflush.h> 20#include <asm/cacheflush.h>
21#include <asm/proto.h> 21#include <asm/proto.h>
22#include <asm/e820.h>
22 23
23unsigned long __phys_addr(unsigned long x) 24unsigned long __phys_addr(unsigned long x)
24{ 25{
@@ -28,9 +29,6 @@ unsigned long __phys_addr(unsigned long x)
28} 29}
29EXPORT_SYMBOL(__phys_addr); 30EXPORT_SYMBOL(__phys_addr);
30 31
31#define ISA_START_ADDRESS 0xa0000
32#define ISA_END_ADDRESS 0x100000
33
34/* 32/*
35 * Fix up the linear direct mapping of the kernel to avoid cache attribute 33 * Fix up the linear direct mapping of the kernel to avoid cache attribute
36 * conflicts. 34 * conflicts.
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index 3e214f39fad3..f96f1853bc41 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -22,6 +22,9 @@ struct e820map {
22}; 22};
23#endif /* __ASSEMBLY__ */ 23#endif /* __ASSEMBLY__ */
24 24
25#define ISA_START_ADDRESS 0xa0000
26#define ISA_END_ADDRESS 0x100000
27
25#ifdef __KERNEL__ 28#ifdef __KERNEL__
26#ifdef CONFIG_X86_32 29#ifdef CONFIG_X86_32
27# include "e820_32.h" 30# include "e820_32.h"
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h
index 1c7ba8804176..8cba49da4795 100644
--- a/include/asm-x86/e820_64.h
+++ b/include/asm-x86/e820_64.h
@@ -26,6 +26,10 @@ extern void e820_reserve_resources(struct resource *code_resource,
26extern void e820_mark_nosave_regions(void); 26extern void e820_mark_nosave_regions(void);
27extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); 27extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
28extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); 28extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);
29extern int e820_any_non_reserved(unsigned long start, unsigned long end);
30extern int is_memory_any_valid(unsigned long start, unsigned long end);
31extern int e820_all_non_reserved(unsigned long start, unsigned long end);
32extern int is_memory_all_valid(unsigned long start, unsigned long end);
29extern unsigned long e820_hole_size(unsigned long start, unsigned long end); 33extern unsigned long e820_hole_size(unsigned long start, unsigned long end);
30 34
31extern void e820_setup_gap(void); 35extern void e820_setup_gap(void);
@@ -38,6 +42,7 @@ extern struct e820map e820;
38 42
39extern unsigned ebda_addr, ebda_size; 43extern unsigned ebda_addr, ebda_size;
40extern unsigned long nodemap_addr, nodemap_size; 44extern unsigned long nodemap_addr, nodemap_size;
45
41#endif/*!__ASSEMBLY__*/ 46#endif/*!__ASSEMBLY__*/
42 47
43#endif/*__E820_HEADER*/ 48#endif/*__E820_HEADER*/