[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150516205103.GO2067@n2100.arm.linux.org.uk>
Date: Sat, 16 May 2015 21:51:03 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Stefan Agner <stefan@...er.ch>
Cc: shawn.guo@...aro.org, kernel@...gutronix.de, jason@...edaemon.net,
marc.zyngier@....com, u.kleine-koenig@...gutronix.de,
olof@...om.net, arnd@...db.de, daniel.lezcano@...aro.org,
tglx@...utronix.de, mark.rutland@....com, pawel.moll@....com,
robh+dt@...nel.org, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, mcoquelin.stm32@...il.com,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v7 08/13] ARM: unify MMU/!MMU addruart calls
On Sat, May 16, 2015 at 11:44:20AM +0200, Stefan Agner wrote:
> Remove the needless differences between MMU/!MMU addruart calls.
> This allows to use the same addruart macro on SoC level. Useful
> for SoC consisting of multiple CPUs with and without MMU such as
> Freescale Vybrid.
>
> Signed-off-by: Stefan Agner <stefan@...er.ch>
Depending on the merge plan for the remainder (has tglx reviewed the IRQ
changes yet? I think he needs to before this can be merged)... if it's
not going to go in for the next merge window, this should find its way
into the patch system so it can be applied anyway.
> ---
> arch/arm/include/debug/efm32.S | 2 +-
> arch/arm/kernel/debug.S | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/include/debug/efm32.S b/arch/arm/include/debug/efm32.S
> index 2265a19..660fa1e 100644
> --- a/arch/arm/include/debug/efm32.S
> +++ b/arch/arm/include/debug/efm32.S
> @@ -16,7 +16,7 @@
>
> #define UARTn_TXDATA 0x0034
>
> - .macro addruart, rx, tmp
> + .macro addruart, rx, tmp, tmp2
> ldr \rx, =(CONFIG_DEBUG_UART_PHYS)
>
> /*
> diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S
> index 78c91b5..ea9646c 100644
> --- a/arch/arm/kernel/debug.S
> +++ b/arch/arm/kernel/debug.S
> @@ -35,7 +35,7 @@
>
> #else /* !CONFIG_MMU */
> .macro addruart_current, rx, tmp1, tmp2
> - addruart \rx, \tmp1
> + addruart \rx, \tmp1, \tmp2
> .endm
>
> #endif /* CONFIG_MMU */
> --
> 2.4.1
>
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists