浏览代码

sched: fix SCHED_HRTICK dependency

Currently, it seems SCHED_HRTICK allowed for !SMP. But, it seems to have
no dependency of it. Fix it.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
OGAWA Hirofumi 17 年之前
父节点
当前提交
94f5655988
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/Kconfig.hz

+ 1 - 1
kernel/Kconfig.hz

@@ -55,4 +55,4 @@ config HZ
 	default 1000 if HZ_1000
 	default 1000 if HZ_1000
 
 
 config SCHED_HRTICK
 config SCHED_HRTICK
-	def_bool HIGH_RES_TIMERS && USE_GENERIC_SMP_HELPERS
+	def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)