aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/io_32.h
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-01-30 07:33:44 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:44 -0500
commit0947b2f31ca1ea1211d3cde2dbd8fcec579ef395 (patch)
tree557cfdb5610e98609eaa02453ed23a8994fd1f2d /include/asm-x86/io_32.h
parent4138cc3418f5eaa7524ff8e927102863f1ba0ea5 (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.h3
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 */
142extern void bt_ioremap_init(void);
143extern void bt_ioremap_clear(void);
144extern void bt_ioremap_reset(void);
142extern void *bt_ioremap(unsigned long offset, unsigned long size); 145extern void *bt_ioremap(unsigned long offset, unsigned long size);
143extern void bt_iounmap(void *addr, unsigned long size); 146extern void bt_iounmap(void *addr, unsigned long size);
144extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); 147extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);