x86: add early_memremap()
authorJeremy Fitzhardinge <jeremy@goop.org>
Sun, 7 Sep 2008 22:21:15 +0000 (15:21 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:01 +0000 (10:21 +0200)
commit1494177942b23b7094ca291d37e6f6263fa60fdd
tree3248808433f4d8c5ca9f11be3ff799a448a23206
parentefc9eb20b2f5125642fc37a1dbabadc3ce5d321c
x86: add early_memremap()

early_ioremap() is also used to map normal memory when constructing
the linear memory mapping.  However, since we sometimes need to be able
to distinguish between actual IO mappings and normal memory mappings,
add a early_memremap() call, which maps with PAGE_KERNEL (as opposed
to PAGE_KERNEL_IO for early_ioremap()), and use it when constructing
pagetables.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c
arch/x86/mm/ioremap.c
include/asm-x86/io.h