diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 07:33:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:44 -0500 |
commit | 0947b2f31ca1ea1211d3cde2dbd8fcec579ef395 (patch) | |
tree | 557cfdb5610e98609eaa02453ed23a8994fd1f2d /include/asm-x86/io_32.h | |
parent | 4138cc3418f5eaa7524ff8e927102863f1ba0ea5 (diff) |
i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap
This patch makes it possible for bt_ioremap() to be used before
paging_init(), via providing an early implementation of set_fixmap()
that can be used before paging_init().
This way boot_ioremap() can be replaced by bt_ioremap().
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/io_32.h')
-rw-r--r-- | include/asm-x86/io_32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/io_32.h b/include/asm-x86/io_32.h index db3978846379..f7b733d9ace9 100644 --- a/include/asm-x86/io_32.h +++ b/include/asm-x86/io_32.h | |||
@@ -139,6 +139,9 @@ extern void iounmap(volatile void __iomem *addr); | |||
139 | * mappings, before the real ioremap() is functional. | 139 | * mappings, before the real ioremap() is functional. |
140 | * A boot-time mapping is currently limited to at most 16 pages. | 140 | * A boot-time mapping is currently limited to at most 16 pages. |
141 | */ | 141 | */ |
142 | extern void bt_ioremap_init(void); | ||
143 | extern void bt_ioremap_clear(void); | ||
144 | extern void bt_ioremap_reset(void); | ||
142 | extern void *bt_ioremap(unsigned long offset, unsigned long size); | 145 | extern void *bt_ioremap(unsigned long offset, unsigned long size); |
143 | extern void bt_iounmap(void *addr, unsigned long size); | 146 | extern void bt_iounmap(void *addr, unsigned long size); |
144 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); | 147 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); |