aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-05-01 18:29:35 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-05-02 20:13:54 +0200
commitedf9d4b5c6aaf33e195e04ee8f25a03064d1d6e2 (patch)
treeb94fa043220a34a0a7de90bd1ef890f1674f91f1
parent917c377817e393775fb6a2eaf961c153e38760fd (diff)
tclib: Default to tclib timer for RT
RT is not too happy about the shared timer interrupt in AT91 devices. Default to tclib timer for RT. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/misc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 3f3a4c864735..693a9f9be35d 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -39,6 +39,7 @@ config ATMEL_PWM
config ATMEL_TCLIB
bool "Atmel AT32/AT91 Timer/Counter Library"
depends on (AVR32 || ARCH_AT91)
+ default y if PREEMPT_RT
help
Select this if you want a library to allocate the Timer/Counter
blocks found on many Atmel processors. This facilitates using
@@ -71,7 +72,7 @@ config ATMEL_TCB_CLKSRC_BLOCK
config ATMEL_TCB_CLKSRC_USE_SLOW_CLOCK
bool "TC Block use 32 KiHz clock"
depends on ATMEL_TCB_CLKSRC
- default y
+ default y if !PREEMPT_RT
help
Select this to use 32 KiHz base clock rate as TC block clock
source for clock events.