diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-02-07 18:12:24 +0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-04-07 16:25:53 +0400 |
commit | a66a626538af65cbfc611e2b2fce500ed3f24518 (patch) | |
tree | 1d471b691d098b3ed5c23ac2af8bdd2f9184d64f /arch/microblaze/mm/init.c | |
parent | c24cf712ac53ae8a7bedceb1c967da1667431d8e (diff) | |
download | linux-a66a626538af65cbfc611e2b2fce500ed3f24518.tar.xz |
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.c | 2 |
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 */ |