diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-03-10 02:07:36 +0800 |
---|---|---|
committer | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-03-10 04:39:04 +0800 |
commit | d94aa877a44e2400a4bbdd0905109d7c0fc99030 (patch) | |
tree | 18df8b8cca90149c9ce997c231d9f34bee3fdc7e /arch | |
parent | 25daa0f628cf5542204f0c5f8798206d43b730c0 (diff) | |
download | lwn-d94aa877a44e2400a4bbdd0905109d7c0fc99030.tar.gz lwn-d94aa877a44e2400a4bbdd0905109d7c0fc99030.zip |
RT: MIPS: make cpufreq support depends on !PREEMTP_RT
The cpufreq support will change the cpu frequency dynamically, and also
for most of the MIPS timer's frequency are relative to the cpu
frequency, for example, in Loongson, the MIPS timer is half of the cpu
frequency, if the cpu frequency changes all the time, the MIPS timer
will be mussy.
all of the above will make the whole system un-determinable, so, just
disable the cpufreq support when PREEMPT_RT is used.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/cpufreq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpufreq/Kconfig b/arch/mips/kernel/cpufreq/Kconfig index 58c601eee6fd..8a29c8605454 100644 --- a/arch/mips/kernel/cpufreq/Kconfig +++ b/arch/mips/kernel/cpufreq/Kconfig @@ -9,6 +9,7 @@ config MIPS_CPUFREQ bool default y depends on CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER + depends on !PREEMPT_RT if MIPS_CPUFREQ |