* [PATCH v2 repost] ARM: Availability of psci_smp_available depends on CONFIG_SMP
@ 2015-11-12 10:06 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-11-12 10:06 UTC (permalink / raw)
To: Russell King
Cc: Thierry Reding, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Will Deacon,
Stephen Warren,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Jan Kiszka,
Sebastian Andrzej Siewior
From: Jan Kiszka <jan.kiszka-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org>
Ensure that we can use psci_smp_available without checking for
CONFIG_SMP first (CONFIG_ARM_PSCI=y, CONFIG_SMP=n and
CONFIG_ARCH_TEGRA_124_SOC=y):
|arch/arm/mach-tegra/built-in.o: In function `tegra114_cpuidle_init':
|arch/arm/mach-tegra/cpuidle-tegra114.c:93: undefined reference to `psci_smp_available'
|Makefile:927: recipe for target 'vmlinux' failed
Signed-off-by: Jan Kiszka <jan.kiszka-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
---
Will Deacon said:
"I just stopped moaning about not understanding it :)"
arch/arm/include/asm/psci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -16,7 +16,7 @@
extern struct smp_operations psci_smp_ops;
-#ifdef CONFIG_ARM_PSCI
+#if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP)
bool psci_smp_available(void);
#else
static inline bool psci_smp_available(void) { return false; }
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 repost] ARM: Availability of psci_smp_available depends on CONFIG_SMP
@ 2015-11-12 10:06 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-11-12 10:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Jan Kiszka <jan.kiszka@siemens.com>
Ensure that we can use psci_smp_available without checking for
CONFIG_SMP first (CONFIG_ARM_PSCI=y, CONFIG_SMP=n and
CONFIG_ARCH_TEGRA_124_SOC=y):
|arch/arm/mach-tegra/built-in.o: In function `tegra114_cpuidle_init':
|arch/arm/mach-tegra/cpuidle-tegra114.c:93: undefined reference to `psci_smp_available'
|Makefile:927: recipe for target 'vmlinux' failed
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
Will Deacon said:
"I just stopped moaning about not understanding it :)"
arch/arm/include/asm/psci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -16,7 +16,7 @@
extern struct smp_operations psci_smp_ops;
-#ifdef CONFIG_ARM_PSCI
+#if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP)
bool psci_smp_available(void);
#else
static inline bool psci_smp_available(void) { return false; }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-12 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 10:06 [PATCH v2 repost] ARM: Availability of psci_smp_available depends on CONFIG_SMP Sebastian Andrzej Siewior
2015-11-12 10:06 ` Sebastian Andrzej Siewior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.