[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121006021451.GA2601@localhost>
Date: Sat, 6 Oct 2012 11:14:51 +0900
From: Tejun Heo <tj@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
arm@...nel.org, Li Zefan <lizefan@...wei.com>,
Ben Blum <bblum@...rew.cmu.edu>
Subject: Re: [PATCH 07/16] cgroup: fix warning when building without any
subsys
On Fri, Oct 05, 2012 at 04:55:21PM +0200, Arnd Bergmann wrote:
> In a configuration where the base cgroup support is enabled but
> every single cgroup subsys is turned off, CGROUP_BUILTIN_SUBSYS_COUNT
> is zero, which causes the sanity check code in cgroup_load_subsys
> to trigger:
>
> BUG_ON(ss->subsys_id >= CGROUP_BUILTIN_SUBSYS_COUNT);
> BUG_ON(subsys[ss->subsys_id] != ss);
CGROUP_BUILTIN_SUBSYS_COUNT is already gone in mainline. I suppose
this is no longer necessary?
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists