aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm/init.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-10 10:19:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-10 10:19:52 -0400
commita1f0bcccffe508b36f8eb0bd39771d4bedc683a8 (patch)
treee4ca41552b440c9a69d70bacd4d1c26bdc35b694 /arch/microblaze/mm/init.c
parent70eba4226d9718946941c7be0c8cb66d431e7686 (diff)
parenta047775e7eff511a529bf65f3b3e9c11443789b2 (diff)
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
Pull microblaze updates from Michal Simek. * 'next' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Enable IRQ in arch_cpu_idle microblaze: Fix uaccess_ok macro microblaze: Add support for new cpu versions and target architecture microblaze: Do not select OPT_LIB_ASM by default microblaze: Fix initrd support microblaze: Do not use r6 in head.S microblaze: pci: Remove duplicated header microblaze: Set the default irq_domain microblaze: pci: Remove duplicated include from pci-common.c
Diffstat (limited to 'arch/microblaze/mm/init.c')
-rw-r--r--arch/microblaze/mm/init.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 4ec137d13ad7..b38ae3acfeb4 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -404,10 +404,11 @@ asmlinkage void __init mmu_init(void)
404 404
405#if defined(CONFIG_BLK_DEV_INITRD) 405#if defined(CONFIG_BLK_DEV_INITRD)
406 /* Remove the init RAM disk from the available memory. */ 406 /* Remove the init RAM disk from the available memory. */
407/* if (initrd_start) { 407 if (initrd_start) {
408 mem_pieces_remove(&phys_avail, __pa(initrd_start), 408 unsigned long size;
409 initrd_end - initrd_start, 1); 409 size = initrd_end - initrd_start;
410 }*/ 410 memblock_reserve(virt_to_phys(initrd_start), size);
411 }
411#endif /* CONFIG_BLK_DEV_INITRD */ 412#endif /* CONFIG_BLK_DEV_INITRD */
412 413
413 /* Initialize the MMU hardware */ 414 /* Initialize the MMU hardware */