diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-18 17:55:16 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-20 17:21:30 +0200 |
commit | 80f3e6557e43ee795e4060d8ae033a26d415cd8b (patch) | |
tree | f1c3f8ea611da6c92b7c96f6753d087063aaeca5 /arch/arm/mach-uniphier | |
parent | ARM: lpc18xx: define low-level debug symbol for LPC18xx/43xx (diff) | |
download | linux-80f3e6557e43ee795e4060d8ae033a26d415cd8b.tar.xz linux-80f3e6557e43ee795e4060d8ae033a26d415cd8b.zip |
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: Arnd Bergmann <arnd@arndb.de>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier')
-rw-r--r-- | arch/arm/mach-uniphier/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig index a017b1dd9c78..b640458fd757 100644 --- a/arch/arm/mach-uniphier/Kconfig +++ b/arch/arm/mach-uniphier/Kconfig @@ -5,7 +5,7 @@ config ARCH_UNIPHIER select ARM_GLOBAL_TIMER select ARM_GIC select HAVE_ARM_SCU - select HAVE_ARM_TWD + select HAVE_ARM_TWD if SMP help Support for UniPhier SoC family developed by Socionext Inc. (formerly, System LSI Business Division of Panasonic Corporation) |