Re: mmotm 2009-08-20-19-18 uploaded

From: Dave Young
Date: Fri Aug 21 2009 - 06:39:36 EST


Hi andrew

cgroup build fail:

kernel/sched.c:10452: error: expected ';', ',' or ')' before 'bool'
kernel/sched.c:10536: error: 'cpu_cgroup_attach' undeclared here (not in a function)
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....

fixing:
--

--- linux-2.6.orig/kernel/sched.c 2009-08-21 18:08:16.000000000 +0800
+++ linux-2.6/kernel/sched.c 2009-08-21 18:20:03.000000000 +0800
@@ -10448,7 +10448,7 @@ cpu_cgroup_can_attach(struct cgroup_subs

static void
cpu_cgroup_attach(struct cgroup_subsys *ss, struct cgroup *cgrp,
- struct cgroup *old_cont, struct task_struct *tsk
+ struct cgroup *old_cont, struct task_struct *tsk,
bool threadgroup)
{
sched_move_task(tsk);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/