summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>2015-03-07 10:30:19 -0800
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:21:25 +0200
commit96685b17108b4dbbbaea06307c3fcdb32eb152d0 (patch)
treeb566114f5f644de6b2ee61dabf9a81119dd40e3b
parent73569d87e2cc5fdc0010e612a3c94f919228e301 (diff)
MIPS: Add SCHED_HRTICK support
We have HIGH_RES_TIMERS to support SCHED_HRTICK. But SCHED_HRTICK is in kernel/Kconfig.hz where HZ values unsuitable for MIPS are defined. So we simply add this config in arch/mips/Kconfig as opposed to including the whole kernel/Kconfig.hz. Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com> Cc: linux-mips@linux-mips.org Cc: macro@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9473/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 5df4876f7e4a..859fe30f48e7 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2528,6 +2528,9 @@ config HZ
default 1000 if HZ_1000
default 1024 if HZ_1024
+config SCHED_HRTICK
+ def_bool HIGH_RES_TIMERS
+
source "kernel/Kconfig.preempt"
config KEXEC