sched: fix SCHED_HRTICK dependency
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Sun, 27 Jul 2008 11:27:06 +0000 (20:27 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Jul 2008 12:37:38 +0000 (14:37 +0200)
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>
kernel/Kconfig.hz

index 382dd5a8b2d7f5dd97359895358610f2f4866595..94fabd534b03d9347dc117b653204fa838283def 100644 (file)
@@ -55,4 +55,4 @@ config HZ
        default 1000 if HZ_1000
 
 config SCHED_HRTICK
-       def_bool HIGH_RES_TIMERS && USE_GENERIC_SMP_HELPERS
+       def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)