Commit 80f3e655 authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: uniphier: only select TWD for SMP

This makes uniphier behave like all the other platforms that
support TWD, and only select this driver when SMP is enabled.
Without this, we get a compile error on UP builds:

arch/arm/kernel/smp_twd.c: In function 'twd_local_timer_of_register':
arch/arm/kernel/smp_twd.c:391:20: error: 'setup_max_cpus' undeclared (first use in this function)
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 0aed6a37
...@@ -5,7 +5,7 @@ config ARCH_UNIPHIER ...@@ -5,7 +5,7 @@ config ARCH_UNIPHIER
select ARM_GLOBAL_TIMER select ARM_GLOBAL_TIMER
select ARM_GIC select ARM_GIC
select HAVE_ARM_SCU select HAVE_ARM_SCU
select HAVE_ARM_TWD select HAVE_ARM_TWD if SMP
help help
Support for UniPhier SoC family developed by Socionext Inc. Support for UniPhier SoC family developed by Socionext Inc.
(formerly, System LSI Business Division of Panasonic Corporation) (formerly, System LSI Business Division of Panasonic Corporation)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment