]> Pileus Git - ~andy/linux/commitdiff
ARM: TWD: enable one-shot mode
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jan 2011 15:05:21 +0000 (15:05 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jan 2011 15:05:21 +0000 (15:05 +0000)
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>
arch/arm/Kconfig

index 290a4b57617f74c53e1bc59432f8f63eb13d76e9..15a177573b74b34c076922b04d353f857a00808c 100644 (file)
@@ -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