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! -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Uwe Kleine-König | [PATCH 3/4] UIO: wrap all uio drivers in "if UIO" and "endif" |
git: | |
| Ilpo Järvinen | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
