summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-01-30 13:33:44 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:44 +0100
commit0947b2f31ca1ea1211d3cde2dbd8fcec579ef395 (patch)
tree557cfdb5610e98609eaa02453ed23a8994fd1f2d /include
parent4138cc3418f5eaa7524ff8e927102863f1ba0ea5 (diff)
downloadlinux-3.10-0947b2f31ca1ea1211d3cde2dbd8fcec579ef395.tar.gz
linux-3.10-0947b2f31ca1ea1211d3cde2dbd8fcec579ef395.tar.bz2
linux-3.10-0947b2f31ca1ea1211d3cde2dbd8fcec579ef395.zip
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')
-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 db397884637..f7b733d9ace 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);
* mappings, before the real ioremap() is functional.
* A boot-time mapping is currently limited to at most 16 pages.
*/
+extern void bt_ioremap_init(void);
+extern void bt_ioremap_clear(void);
+extern void bt_ioremap_reset(void);
extern void *bt_ioremap(unsigned long offset, unsigned long size);
extern void bt_iounmap(void *addr, unsigned long size);
extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);