From: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Sun, 2 Jan 2011 15:05:21 +0000 (+0000)
Subject: ARM: TWD: enable one-shot mode
X-Git-Tag: firefly_0821_release~7613^2~3117^2~2^2^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15095bb0fe779c0403091bda7adce5fb3bb9ca35;p=firefly-linux-kernel-4.4.55.git

ARM: TWD: enable one-shot mode

Allow one shot timer mode to be used with the TWD.  This allows
NOHZ mode to be used on SMP systems using the TWD localtimer.

Tested on Versatile Express and U8500.

Tested-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 290a4b57617f..15a177573b74 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1248,6 +1248,7 @@ config HAVE_ARM_SCU
 config HAVE_ARM_TWD
 	bool
 	depends on SMP
+	select TICK_ONESHOT
 	help
 	  This options enables support for the ARM timer and watchdog unit