x86: fix early_ioremap()/btmap
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:48 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:48 +0000 (13:33 +0100)
commitd701fda8601fe267fbd3648f108f0e751305101b
treeed4e32e3ff33eb9e01a4c8321776b82b834c6fce
parentd690b2afd5a7a02816386aa704c8c0b1aca8d2de
x86: fix early_ioremap()/btmap

fix a long-standing weakness of the early-ioremap allocator: it
uses a single pgd entry for the boot mappings, and was not properly
protecting itself against crossing a 2MB (4MB) boundary.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/fixmap_32.h