2.6.21-rt17 arm compile error
hi !
i get foillowing compile error on arm:
In file included from kernel/sched.c:752:kernel/sched_debug.c: In function 'print_cpu':kernel/sched_debug.c:107: error: 'cpu_khz' undeclared (first use in this function)kernel/sched_debug.c:107: error: (Each undeclared identifier is reported only oncekernel/sched_debug.c:107: error: for each function it appears in.) make[1]: *** [kernel/sched.o] Fehler 1
someone any idea ?
i don't think this fix is correct, but it helps to compile:
kernel/sched_debug.c +4 -0
@@ -104,7 +104,11 @@ static void print_rq_runtime_sum(structstatic void print_cpu (struct seq_file *m,int cpu,u64 now) {struct rq *rq = &per_cpu (runqueues, cpu); +#ifdef CONFIG_X86 unsigned int freq = cpu_khz ? :1 ; +#else +unsigned int freq =1 ; +#endif SEQ_printf (m,"\ncpu#%d, %u.%03u MHz\n" , cpu, freq /1000 , (freq %1000 ));
regards manfred