]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: fix WARN_ON() message: teach page_is_ram() about the special 4Kb bios data page
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 18 Feb 2008 17:54:33 +0000 (09:54 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:34 +0000 (16:18 +0100)
commitd8a9e6a51ec58486f850e3606e3fcb86b5b7da41
tree78540cd48a23115db0c9b740076e3ab82bafd001
parent7c6357da1185d286adaa4452d829ac9b27c4d12f
x86: fix WARN_ON() message: teach page_is_ram() about the special 4Kb bios data page

This patch teaches page_is_ram() about the fact that the first
4Kb of memory are special on x86, even though the E820 table
normally doesn't exclude it.

This fixes the WARN_ON() reported by Laurent Riffard who was also
very helpful in diagnosing the issue.

[ mingo@elte.hu: we are working on doing this properly in the e820
  space, but for 2.6.25 this is the better fix. ]

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