From: Deng-Cheng Zhu Date: Sat, 7 Mar 2015 18:30:19 +0000 (-0800) Subject: MIPS: Add SCHED_HRTICK support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96685b17108b4dbbbaea06307c3fcdb32eb152d0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: linux-mips@linux-mips.org Cc: macro@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9473/ Signed-off-by: Ralf Baechle --- 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