Skip to contentSkip to conversation

Fix SCHED_HRTICK dependency

PATCH Applied OGAWA Hirofumi 2 participants 2 messages Jul 27, 2008 – Jul 28, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

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

---

 kernel/Kconfig.hz |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/Kconfig.hz renamed from kernel/Kconfig.hz~sched_hrtick-dep-fix +1 -1
diff -puN kernel/Kconfig.hz~sched_hrtick-dep-fix kernel/Kconfig.hz
@@ -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)

_

Signature · 1 line
OGAWA Hirofumi <[email protected]>
Applied
#1 lore raw
Quoted 4 lines · OGAWA Hirofumi

Hi,

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

applied to tip/sched/urgent, thanks!

Ingo