]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: fix page_is_ram() thinko
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 18 Feb 2008 17:58:45 +0000 (09:58 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:34 +0000 (16:18 +0100)
commit156fbc3fbe4ab640297b1ae2092821363840aeb6
tree285b14753f41e02e7641d96a8e5c23ae0c71c690
parentd8a9e6a51ec58486f850e3606e3fcb86b5b7da41
x86: fix page_is_ram() thinko

page_is_ram() has a special case for the 640k-1M bios area, however
due to a thinko the special case checks the e820 table entry and
not the memory the user has asked for. This patch fixes the bug.

[ mingo@elte.hu: this too is better solved in the e820 space, but those
  fixes are too intrusive for v2.6.25. ]

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap.c