]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: fix the missing BIOS area check in page_is_ram
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:06 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:06 +0000 (13:34 +0100)
commit950f9d95bed1a366434d3597ea75f5b9d772d74f
tree900c548d99c14aacc31888a3483545f8352aea22
parent5f5192b9feeff6a96c97c143c3ca558fdbe2dc8e
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>
arch/x86/mm/ioremap.c
arch/x86/mm/pageattr.c
include/asm-x86/e820.h