diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:34:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:06 -0500 |
commit | 950f9d95bed1a366434d3597ea75f5b9d772d74f (patch) | |
tree | 900c548d99c14aacc31888a3483545f8352aea22 /include/asm-x86/e820.h | |
parent | 5f5192b9feeff6a96c97c143c3ca558fdbe2dc8e (diff) |
x86: fix the missing BIOS area check in page_is_ram
page_is_ram has a FIXME since ages, which reminds to sanity check the
BIOS area between 640k and 1M, which is sometimes falsely reported as
RAM in the e820 tables.
Implement the sanity check. Move the BIOS range defines from
pageattr.c into e820.h to avoid duplicate defines.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r-- | include/asm-x86/e820.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index f96f1853bc4..7004251fc66 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
@@ -25,6 +25,9 @@ struct e820map { | |||
25 | #define ISA_START_ADDRESS 0xa0000 | 25 | #define ISA_START_ADDRESS 0xa0000 |
26 | #define ISA_END_ADDRESS 0x100000 | 26 | #define ISA_END_ADDRESS 0x100000 |
27 | 27 | ||
28 | #define BIOS_BEGIN 0x000a0000 | ||
29 | #define BIOS_END 0x00100000 | ||
30 | |||
28 | #ifdef __KERNEL__ | 31 | #ifdef __KERNEL__ |
29 | #ifdef CONFIG_X86_32 | 32 | #ifdef CONFIG_X86_32 |
30 | # include "e820_32.h" | 33 | # include "e820_32.h" |