]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0190-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch
rt_patches: required rebase due to printk change
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0190-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch
1 From 04f8b6ed07a3891ef377e1ba4378493d8d928b89 Mon Sep 17 00:00:00 2001
2 From: Thomas Gleixner <tglx@linutronix.de>
3 Date: Sat, 1 May 2010 18:29:35 +0200
4 Subject: [PATCH 190/366] ARM: at91: tclib: Default to tclib timer for RT
5
6 RT is not too happy about the shared timer interrupt in AT91
7 devices. Default to tclib timer for RT.
8
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 ---
11  drivers/misc/Kconfig | 3 ++-
12  1 file changed, 2 insertions(+), 1 deletion(-)
13
14 diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
15 index a79ec7f..56ec0a2 100644
16 --- a/drivers/misc/Kconfig
17 +++ b/drivers/misc/Kconfig
18 @@ -54,6 +54,7 @@ config AD525X_DPOT_SPI
19  config ATMEL_TCLIB
20         bool "Atmel AT32/AT91 Timer/Counter Library"
21         depends on (AVR32 || ARCH_AT91)
22 +       default y if PREEMPT_RT_FULL
23         help
24           Select this if you want a library to allocate the Timer/Counter
25           blocks found on many Atmel processors.  This facilitates using
26 @@ -86,7 +87,7 @@ config ATMEL_TCB_CLKSRC_BLOCK
27  config ATMEL_TCB_CLKSRC_USE_SLOW_CLOCK
28         bool "TC Block use 32 KiHz clock"
29         depends on ATMEL_TCB_CLKSRC
30 -       default y
31 +       default y if !PREEMPT_RT_FULL
32         help
33           Select this to use 32 KiHz base clock rate as TC block clock
34           source for clock events.
35 -- 
36 1.9.1
37