[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a2epor2RZzJ1ySp2g-vUSTj+miWNJC26uYU7v3Knq=pvw@mail.gmail.com>
Date: Wed, 21 Jun 2017 12:25:34 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Andreas Färber <afaerber@...e.de>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
mp-cs@...ions-semi.com, Thomas Liau <thomas.liau@...ions-semi.com>,
张东风 <zhangdf@...ions-semi.com>,
刘炜 <liuwei@...ions-semi.com>,
张天益 <tyzhang@...ions-semi.com>,
96boards@...obotics.com, support@...aker.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Russell King <linux@...linux.org.uk>
Subject: Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500
On Wed, Jun 21, 2017 at 10:16 AM, Arnd Bergmann <arnd@...db.de> wrote:
> On Tue, Jun 6, 2017 at 2:54 AM, Andreas Färber <afaerber@...e.de> wrote:
>> Allow to bring up CPU1.
>>
>> Based on LeMaker linux-actions tree.
>>
>> Signed-off-by: Andreas Färber <afaerber@...e.de>
>> ---
>> v3 -> v4: Unchanged
>>
>> v3: new
>>
>> arch/arm/mach-actions/Makefile | 3 +
>> arch/arm/mach-actions/headsmp.S | 68 ++++++++++++++++
>> arch/arm/mach-actions/platsmp.c | 166 ++++++++++++++++++++++++++++++++++++++++
>
> I now see build errors in linux-next:
>
> /git/arm-soc/arch/arm/mach-actions/platsmp.c: In function 'write_pen_release':
> /git/arm-soc/arch/arm/mach-actions/platsmp.c:39:2: error:
> 'pen_release' undeclared (first use in this function); did you mean
I have a fix and tested it now. Please fold this into your patch:
Arnd
Subject: [PATCH] ARM: owl: fix non-SMP build
arch/arm/mach-actions/platsmp.c: In function 'write_pen_release':
arch/arm/mach-actions/platsmp.c:39:2: error: 'pen_release' undeclared
(first use in this function); did you mean 'seq_release'?
Signed-off-by: Arnd Bergmann <arnd@...db.de>
diff --git a/arch/arm/mach-actions/Makefile b/arch/arm/mach-actions/Makefile
index 217e95d04b43..94f8dbafba21 100644
--- a/arch/arm/mach-actions/Makefile
+++ b/arch/arm/mach-actions/Makefile
@@ -1,4 +1,4 @@
-obj-$(CONFIG_ARCH_ACTIONS) += owl.o
-obj-${CONFIG_ARCH_ACTIONS} += platsmp.o headsmp.o
+obj-y += owl.o
+obj-$(CONFIG_SMP) += platsmp.o headsmp.o
AFLAGS_headsmp.o := -Wa,-march=armv7-a
Powered by blists - more mailing lists