Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754892Ab3EPQQz (ORCPT ); Thu, 16 May 2013 12:16:55 -0400 Received: from mail-qe0-f54.google.com ([209.85.128.54]:32822 "EHLO mail-qe0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733Ab3EPQQt (ORCPT ); Thu, 16 May 2013 12:16:49 -0400 MIME-Version: 1.0 In-Reply-To: <1368440169-29088-2-git-send-email-maxime.ripard@free-electrons.com> References: <1368440169-29088-1-git-send-email-maxime.ripard@free-electrons.com> <1368440169-29088-2-git-send-email-maxime.ripard@free-electrons.com> Date: Thu, 16 May 2013 11:16:48 -0500 Message-ID: Subject: Re: [PATCH 1/4] ARM: mmu: Call debug_ll_io_init if no map_io function is specified From: Rob Herring To: Maxime Ripard Cc: Shawn Guo , Arnd Bergmann , Olof Johansson , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 36 On Mon, May 13, 2013 at 5:16 AM, Maxime Ripard wrote: > 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 Acked-by: Rob Herring > --- > arch/arm/mm/mmu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c > index e0d8565..faa36d7 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 */ > -- > 1.8.1.2 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/