diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-18 23:52:23 +0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-05-24 12:22:26 +0400 |
commit | bc37324e820e4a23a0bccef79ae797ce4d939c4f (patch) | |
tree | b5fae49e2589bf72fa6e4102b5a6040d7a06f1eb /arch/arm/mm/mmu.c | |
parent | 4adfe48492efd0ee8c3ff672b889c9c5101a0834 (diff) | |
download | linux-bc37324e820e4a23a0bccef79ae797ce4d939c4f.tar.xz |
ARM: mmu: Call debug_ll_io_init if no map_io function is specified
More and more sub-architectures are using only the debug_ll_io_init
function as the map_io function. Make the core code call this function
if no function is specified in the machine description to remove some
boilerplate code.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index e0d8565671a6..faa36d7b8786 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1232,6 +1232,8 @@ static void __init devicemaps_init(struct machine_desc *mdesc) */ if (mdesc->map_io) mdesc->map_io(); + else + debug_ll_io_init(); fill_pmd_gaps(); /* Reserve fixed i/o space in VMALLOC region */ |