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

From: Paul Menage
Date: Fri Aug 21 2009 - 16:51:05 EST


On Fri, Aug 21, 2009 at 3:38 AM, Dave Young<hidave.darkstar@xxxxxxxxx> wrote:
> 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)

Ah, sorry, it looks as though CONFIG_CGROUP_SCHED got turned off in my
config (and Ben's, apparently) so this function was never actually
compiled.

Paul
--
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/