summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
authorHuang, Ying2008-01-30 13:33:44 +0100
committerIngo Molnar2008-01-30 13:33:44 +0100
commit0947b2f31ca1ea1211d3cde2dbd8fcec579ef395 (patch)
tree557cfdb5610e98609eaa02453ed23a8994fd1f2d /arch/x86/kernel/setup_32.c
parentx86: set strong uncacheable where UC is really desired (diff)
downloadkernel-qcow2-linux-0947b2f31ca1ea1211d3cde2dbd8fcec579ef395.tar.gz
kernel-qcow2-linux-0947b2f31ca1ea1211d3cde2dbd8fcec579ef395.tar.xz
kernel-qcow2-linux-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 'arch/x86/kernel/setup_32.c')
-rw-r--r--arch/x86/kernel/setup_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 83ba3ca5f431..35db426de300 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -697,6 +697,7 @@ void __init setup_arch(char **cmdline_p)
memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data));
pre_setup_arch_hook();
early_cpu_init();
+ bt_ioremap_init();
#ifdef CONFIG_EFI
if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,