Re: [git] CFS-devel, latest code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>, Mike Galbraith <efault@...>, Srivatsa Vaddagiri <vatsa@...>, Dhaval Giani <dhaval@...>, Dmitry Adamushko <dmitry.adamushko@...>, Andrew Morton <akpm@...>
Date: Tuesday, September 25, 2007 - 2:50 am

Hi;

25 Eyl 2007 Sal tarihinde, Ingo Molnar şunları yazmıştı: 

Seems like following trivial change needed to compile without CONFIG_SCHEDSTATS

caglar@zangetsu linux-2.6 $ LC_ALL=C make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      kernel/sched.o
In file included from kernel/sched.c:853:
kernel/sched_debug.c: In function `print_cfs_rq':
kernel/sched_debug.c:139: error: structure has no member named `bkl_cnt'
kernel/sched_debug.c:139: error: structure has no member named `bkl_cnt'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>

diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index b68e593..4659c90 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -136,8 +136,10 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
 			SPLIT_NS(spread0));
 	SEQ_printf(m, "  .%-30s: %ld\n", "nr_running", cfs_rq->nr_running);
 	SEQ_printf(m, "  .%-30s: %ld\n", "load", cfs_rq->load.weight);
+#ifdef CONFIG_SCHEDSTATS
 	SEQ_printf(m, "  .%-30s: %ld\n", "bkl_cnt",
 			rq->bkl_cnt);
+#endif
 	SEQ_printf(m, "  .%-30s: %ld\n", "nr_spread_over",
 			cfs_rq->nr_spread_over);
 }


Cheers
-- 
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git] CFS-devel, latest code, Ingo Molnar, (Mon Sep 24, 5:45 pm)
Re: [git] CFS-devel, latest code, Andrew Morton, (Tue Sep 25, 3:41 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 4:43 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 7:00 am)
Re: [git] CFS-devel, latest code, Andrew Morton, (Tue Sep 25, 4:48 am)
Re: [git] CFS-devel, latest code, S.Çağlar, (Tue Sep 25, 2:50 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 5:17 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 2:10 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 3:35 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 4:33 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 5:13 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 5:44 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 5:40 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 6:10 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 6:28 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 8:28 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 8:54 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 6:36 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 8:51 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 9:35 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 10:07 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 7:33 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 10:48 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 5:17 am)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 5:47 am)
Re: [git] CFS-devel, latest code, Bill Davidsen, (Fri Sep 28, 5:46 pm)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Wed Sep 26, 4:04 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 6:02 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 4:53 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 5:12 am)
Re: [git] CFS-devel, latest code, Srivatsa Vaddagiri, (Tue Sep 25, 5:11 am)
Re: [git] CFS-devel, latest code, Mike Galbraith, (Tue Sep 25, 5:15 am)
Re: [git] CFS-devel, latest code, Daniel Walker, (Mon Sep 24, 8:08 pm)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Tue Sep 25, 2:45 am)
Re: [git] CFS-devel, latest code, Daniel Walker, (Tue Sep 25, 11:17 am)
Re: [git] CFS-devel, latest code, Andrew Morton, (Mon Sep 24, 5:55 pm)
Re: [git] CFS-devel, latest code, Ingo Molnar, (Mon Sep 24, 5:59 pm)