From: Russell King <rmk+kernel@arm.linux.org.uk>
To: Kukjin Kim <kgene@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org
Subject: [PATCH] ARM: fix exynos randconfig build error
Date: Wed, 25 Feb 2015 11:26:50 +0000 [thread overview]
Message-ID: <E1YQa78-0000O0-A4@rmk-PC.arm.linux.org.uk> (raw)
The following error was observed with SMP=n in v4.0-rc1:
arch/arm/mach-exynos/pm.c: In function 'exynos_cpu0_enter_aftr':
arch/arm/mach-exynos/pm.c:246:4: error: implicit declaration of function 'arch_send_wakeup_ipi_mask' [-Werror=implicit-function-declaration]
As the code unconditionally calls a function only available with SMP=y,
make the Exynos PM support depend on SMP.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
Alternatively, the code needs fixing not to call this function on non-SMP
platforms.
arch/arm/mach-exynos/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 603820e5aba7..55a1ada28350 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -131,6 +131,7 @@ config EXYNOS5420_MCPM
config EXYNOS_CPU_SUSPEND
bool
+ depends on SMP
select ARM_CPU_SUSPEND
default PM_SLEEP || ARM_EXYNOS_CPUIDLE
--
1.8.3.1
next reply other threads:[~2015-02-25 11:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 11:26 Russell King [this message]
2015-02-25 11:46 ` [PATCH] ARM: fix exynos randconfig build error Krzysztof Kozlowski
2015-02-26 21:30 ` Kukjin Kim
2015-03-02 19:40 ` Kukjin Kim
2015-03-03 12:44 ` Bartlomiej Zolnierkiewicz
2015-03-30 21:37 ` Russell King - ARM Linux
2015-03-31 9:26 ` Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1YQa78-0000O0-A4@rmk-PC.arm.linux.org.uk \
--to=rmk+kernel@arm.linux.org.uk \
--cc=kgene@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox