summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm/init.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-02-07 15:12:24 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-04-07 14:25:53 +0200
commita66a626538af65cbfc611e2b2fce500ed3f24518 (patch)
tree1d471b691d098b3ed5c23ac2af8bdd2f9184d64f /arch/microblaze/mm/init.c
parentc24cf712ac53ae8a7bedceb1c967da1667431d8e (diff)
downloadlinux-a66a626538af65cbfc611e2b2fce500ed3f24518.tar.gz
linux-a66a626538af65cbfc611e2b2fce500ed3f24518.tar.bz2
linux-a66a626538af65cbfc611e2b2fce500ed3f24518.zip
microblaze: Use asm-generic/io.h
Using generic io.h will narrow down code duplication in architecture io.h. - define PCI_IOBASE - remove non existing pci_io_base extern Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/mm/init.c')
-rw-r--r--arch/microblaze/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 89077d346714..77bc7c7e6522 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -369,7 +369,7 @@ asmlinkage void __init mmu_init(void)
if (initrd_start) {
unsigned long size;
size = initrd_end - initrd_start;
- memblock_reserve(virt_to_phys(initrd_start), size);
+ memblock_reserve(__virt_to_phys(initrd_start), size);
}
#endif /* CONFIG_BLK_DEV_INITRD */