OSDN Git Service

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 290a4b5..15a1775 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