sched: fix hrtick & generic-ipi dependency
authorIngo Molnar <mingo@elte.hu>
Wed, 23 Jul 2008 09:16:38 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Jul 2008 09:18:28 +0000 (11:18 +0200)
Andrew Morton reported this s390 allmodconfig build failure:

 kernel/built-in.o: In function `hrtick_start_fair':
 sched.c:(.text+0x69c6): undefined reference to `__smp_call_function_single'

the reason is that s390 is not a generic-ipi SMP platform yet, while
the hrtick code relies on it. Fix the dependency.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/Kconfig.hz

index 2a202a8..382dd5a 100644 (file)
@@ -55,4 +55,4 @@ config HZ
        default 1000 if HZ_1000
 
 config SCHED_HRTICK
-       def_bool HIGH_RES_TIMERS
+       def_bool HIGH_RES_TIMERS && USE_GENERIC_SMP_HELPERS