diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-09-07 18:21:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:21:01 -0400 |
commit | 1494177942b23b7094ca291d37e6f6263fa60fdd (patch) | |
tree | 3248808433f4d8c5ca9f11be3ff799a448a23206 /include/asm-x86/io.h | |
parent | efc9eb20b2f5125642fc37a1dbabadc3ce5d321c (diff) |
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>
Diffstat (limited to 'include/asm-x86/io.h')
-rw-r--r-- | include/asm-x86/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/io.h b/include/asm-x86/io.h index e091f3949eca..a233f835e0b5 100644 --- a/include/asm-x86/io.h +++ b/include/asm-x86/io.h | |||
@@ -83,6 +83,7 @@ extern void early_ioremap_init(void); | |||
83 | extern void early_ioremap_clear(void); | 83 | extern void early_ioremap_clear(void); |
84 | extern void early_ioremap_reset(void); | 84 | extern void early_ioremap_reset(void); |
85 | extern void *early_ioremap(unsigned long offset, unsigned long size); | 85 | extern void *early_ioremap(unsigned long offset, unsigned long size); |
86 | extern void *early_memremap(unsigned long offset, unsigned long size); | ||
86 | extern void early_iounmap(void *addr, unsigned long size); | 87 | extern void early_iounmap(void *addr, unsigned long size); |
87 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); | 88 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); |
88 | 89 | ||