aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-08-31 03:45:21 -0400
committerIngo Molnar <mingo@elte.hu>2010-08-31 03:45:46 -0400
commitdaab7fc734a53fdeaf844b7c03053118ad1769da (patch)
tree575deb3cdcc6dda562acaed6f7c29bc81ae01cf2 /arch/x86/kernel/setup.c
parent774ea0bcb27f57b6fd521b3b6c43237782fed4b9 (diff)
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff)
Merge commit 'v2.6.36-rc3' into x86/memblock
Conflicts: arch/x86/kernel/trampoline.c mm/memblock.c Merge reason: Resolve the conflicts, update to latest upstream. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 1d114ff6a078..bf89e0a59b88 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -103,6 +103,7 @@
103 103
104#include <asm/paravirt.h> 104#include <asm/paravirt.h>
105#include <asm/hypervisor.h> 105#include <asm/hypervisor.h>
106#include <asm/olpc_ofw.h>
106 107
107#include <asm/percpu.h> 108#include <asm/percpu.h>
108#include <asm/topology.h> 109#include <asm/topology.h>
@@ -745,10 +746,15 @@ void __init setup_arch(char **cmdline_p)
745 /* VMI may relocate the fixmap; do this before touching ioremap area */ 746 /* VMI may relocate the fixmap; do this before touching ioremap area */
746 vmi_init(); 747 vmi_init();
747 748
749 /* OFW also may relocate the fixmap */
750 olpc_ofw_detect();
751
748 early_trap_init(); 752 early_trap_init();
749 early_cpu_init(); 753 early_cpu_init();
750 early_ioremap_init(); 754 early_ioremap_init();
751 755
756 setup_olpc_ofw_pgd();
757
752 ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev); 758 ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev);
753 screen_info = boot_params.screen_info; 759 screen_info = boot_params.screen_info;
754 edid_info = boot_params.edid_info; 760 edid_info = boot_params.edid_info;
@@ -1024,6 +1030,8 @@ void __init setup_arch(char **cmdline_p)
1024 paging_init(); 1030 paging_init();
1025 x86_init.paging.pagetable_setup_done(swapper_pg_dir); 1031 x86_init.paging.pagetable_setup_done(swapper_pg_dir);
1026 1032
1033 setup_trampoline_page_table();
1034
1027 tboot_probe(); 1035 tboot_probe();
1028 1036
1029#ifdef CONFIG_X86_64 1037#ifdef CONFIG_X86_64