diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-06-25 00:19:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:10:28 -0400 |
commit | 4583ed514ea9ac844a6eb02d33120beaedf6837f (patch) | |
tree | 9df2d1e1a5d1726303f761954593defc483e2d20 /include/asm-x86/io.h | |
parent | bb23e403e5162765dabe3dc78646724753d6359b (diff) |
x86, 64-bit: unify early_ioremap
The 32-bit early_ioremap will work equally well for 64-bit, so just use it.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/io.h b/include/asm-x86/io.h index 8e9eca93f9b9..c63563df4ac8 100644 --- a/include/asm-x86/io.h +++ b/include/asm-x86/io.h | |||
@@ -72,4 +72,17 @@ extern int ioremap_change_attr(unsigned long vaddr, unsigned long size, | |||
72 | unsigned long prot_val); | 72 | unsigned long prot_val); |
73 | extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size); | 73 | extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size); |
74 | 74 | ||
75 | /* | ||
76 | * early_ioremap() and early_iounmap() are for temporary early boot-time | ||
77 | * mappings, before the real ioremap() is functional. | ||
78 | * A boot-time mapping is currently limited to at most 16 pages. | ||
79 | */ | ||
80 | extern void early_ioremap_init(void); | ||
81 | extern void early_ioremap_clear(void); | ||
82 | extern void early_ioremap_reset(void); | ||
83 | extern void *early_ioremap(unsigned long offset, unsigned long size); | ||
84 | extern void early_iounmap(void *addr, unsigned long size); | ||
85 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); | ||
86 | |||
87 | |||
75 | #endif /* _ASM_X86_IO_H */ | 88 | #endif /* _ASM_X86_IO_H */ |