[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180404154916.66870e98@dell-desktop.home>
Date: Wed, 4 Apr 2018 15:49:16 +0200
From: Mylène Josserand <mylene.josserand@...tlin.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: Chen-Yu Tsai <wens@...e.org>, Russell King <linux@...linux.org.uk>,
Maxime Ripard <maxime.ripard@...tlin.com>,
Marc Zyngier <marc.zyngier@....com>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
devicetree <devicetree@...r.kernel.org>,
LABBE Corentin <clabbe.montjoie@...il.com>,
quentin.schulz@...tlin.com,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 01/13] ARM: move cputype definitions into another
file
Hello Florian,
On Tue, 3 Apr 2018 12:56:30 -0700
Florian Fainelli <f.fainelli@...il.com> wrote:
> On 04/02/2018 11:52 PM, Chen-Yu Tsai wrote:
> > On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand
> > <mylene.josserand@...tlin.com> wrote:
> >> To add the support for SMP on sun8i-a83t, we will use some
> >> definitions in an assembly file so move definitions into
> >> another file to separate C functions and macro defintions.
> >
> > Instead of moving the definitions, you could guard all the C
> > stuff in "#ifndef __ASSEMBLY__". AFAIK a few header files do that.
>
> Which is effectively what this patch does (still waiting for an ACK):
>
> https://patchwork.kernel.org/patch/10239855/
Thanks for pointing out this existing patch.
I will use it for my next series and add my Tested-by (once tested, of
course).
Best regards,
--
Mylène Josserand, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
>
> >
> > ChenYu
> >
> >> Signed-off-by: Mylène Josserand <mylene.josserand@...tlin.com>
> >> ---
> >> arch/arm/include/asm/cputype.h | 94 +-----------------------------------
> >> arch/arm/include/asm/cputype_def.h | 98 ++++++++++++++++++++++++++++++++++++++
> > --
> > To unsubscribe from this list: send the line "unsubscribe devicetree" in
> > the body of a message to majordomo@...r.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
>
Powered by blists - more mailing lists