diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 20:42:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 20:42:01 -0400 |
commit | ee37ba7a4212c7420f12e6a2ad8a3966649ede7a (patch) | |
tree | a9d3a5088bf7abcfba74c5ce61dd577292c838cd /arch/sparc | |
parent | 773d7a09e1a1349a5319ac8665e9c612c6aa27d8 (diff) | |
parent | b99c6ebe8f53dce1f56f0d483f6a7c23edb19d4c (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6:
sparc64: Fix UP bootup regression.
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/mm/init_64.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index ca92e2f54e4d..ed6be6ba2f4e 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -1796,10 +1796,16 @@ void __init paging_init(void) | |||
1796 | 1796 | ||
1797 | prom_build_devicetree(); | 1797 | prom_build_devicetree(); |
1798 | of_populate_present_mask(); | 1798 | of_populate_present_mask(); |
1799 | #ifndef CONFIG_SMP | ||
1800 | of_fill_in_cpu_data(); | ||
1801 | #endif | ||
1799 | 1802 | ||
1800 | if (tlb_type == hypervisor) { | 1803 | if (tlb_type == hypervisor) { |
1801 | sun4v_mdesc_init(); | 1804 | sun4v_mdesc_init(); |
1802 | mdesc_populate_present_mask(cpu_all_mask); | 1805 | mdesc_populate_present_mask(cpu_all_mask); |
1806 | #ifndef CONFIG_SMP | ||
1807 | mdesc_fill_in_cpu_data(cpu_all_mask); | ||
1808 | #endif | ||
1803 | } | 1809 | } |
1804 | 1810 | ||
1805 | /* Once the OF device tree and MDESC have been setup, we know | 1811 | /* Once the OF device tree and MDESC have been setup, we know |