]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: uniphier: only select TWD for SMP
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 May 2015 15:55:16 +0000 (17:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 20 May 2015 15:21:30 +0000 (17:21 +0200)
commitb01f6f061d211137eaf6b3d2a242e6d534025920
treef1c3f8ea611da6c92b7c96f6753d087063aaeca5
parent57a6c14485436f82d5340b1d3776daca4bd9df9e
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>
arch/arm/mach-uniphier/Kconfig