summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-03-10 02:11:26 +0800
committerWu Zhangjin <wuzhangjin@gmail.com>2010-03-10 04:39:05 +0800
commit99335526b57f9e586ddaf3c2cc102abd9eb65e73 (patch)
tree9e986d4880c7c2ca78c4c1428399a966b0ce9989 /arch/mips
parentd94aa877a44e2400a4bbdd0905109d7c0fc99030 (diff)
downloadlwn-99335526b57f9e586ddaf3c2cc102abd9eb65e73.tar.gz
lwn-99335526b57f9e586ddaf3c2cc102abd9eb65e73.zip
RT: MIPS: Loongson: make the MFGPT timer depends on !PREEMPT_RT
There is a MFGPT timer in Lemote-2F family of machines, which have low precision and not support oneshot mode, so, only let it be un-available in PREEMTPT_RT for we have an MIPS-builtin high-resolution timer: r4k timer. For we disable it for PREEMPT_RT, there is no need to convert the related lock to raw_ one. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/loongson/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig
index 3df1967dea08..ab08247598ed 100644
--- a/arch/mips/loongson/Kconfig
+++ b/arch/mips/loongson/Kconfig
@@ -64,7 +64,7 @@ config CS5536
config CS5536_MFGPT
bool "CS5536 MFGPT Timer"
- depends on CS5536
+ depends on CS5536 && !PREEMPT_RT
select MIPS_EXTERNAL_TIMER
help
This option enables the mfgpt0 timer of AMD CS5536.