Fix SCHED_HRTICK dependency

From: OGAWA Hirofumi
Date: Sun Jul 27 2008 - 07:27:23 EST


Hi,

Currently, it seems SCHED_HRTICK allowed for !SMP. But, it seems to have
no dependency of it. So how about the following?

Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
---

kernel/Kconfig.hz | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/Kconfig.hz~sched_hrtick-dep-fix kernel/Kconfig.hz
--- linux-2.6/kernel/Kconfig.hz~sched_hrtick-dep-fix 2008-07-26 00:23:26.000000000 +0900
+++ linux-2.6-hirofumi/kernel/Kconfig.hz 2008-07-26 00:25:12.000000000 +0900
@@ -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)
_

--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/