[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <565CF6A4.1030608@samsung.com>
Date: Tue, 01 Dec 2015 10:23:48 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Arnd Bergmann <arnd@...db.de>, linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, Kukjin Kim <kgene@...nel.org>,
Mark Brown <broonie@...nel.org>,
Vasily Khoruzhick <anarsoul@...il.com>,
Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
Tomasz Figa <tfiga@...omium.org>,
Ben Dooks <ben.dooks@...ethink.co.uk>,
linux-samsung-soc@...r.kernel.org
Subject: Re: [PATCH 04/10] ARM: s3c64xx: prepare initcalls for multiplatform
On 26.11.2015 01:06, Arnd Bergmann wrote:
> In a multiplatform kernel, each initcall is run regardless
> of the platform it is meant for, so it must not attempt to
> access SoC-specific registers.
>
> This adds 'if (soc_is_s3c64xx)' to all initcalls that are
> specific to the s3c64xx platform, to prevent them from breaking
> other platforms once we can build them into a combined kernel.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> arch/arm/mach-s3c64xx/common.c | 4 ++--
> arch/arm/mach-s3c64xx/cpuidle.c | 5 ++++-
> arch/arm/mach-s3c64xx/irq-pm.c | 2 +-
> arch/arm/mach-s3c64xx/mach-crag6410-module.c | 4 ++++
> arch/arm/mach-s3c64xx/pl080.c | 4 ++++
> arch/arm/mach-s3c64xx/pm.c | 4 ++++
> arch/arm/mach-s3c64xx/s3c6400.c | 2 +-
> arch/arm/mach-s3c64xx/s3c6410.c | 2 +-
> arch/arm/plat-samsung/gpio-samsung.c | 11 +++++------
> arch/arm/plat-samsung/init.c | 5 +++++
> 10 files changed, 31 insertions(+), 12 deletions(-)
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Best regards,
Krzysztof
--
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