Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754144Ab2JFCO5 (ORCPT ); Fri, 5 Oct 2012 22:14:57 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:48739 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750773Ab2JFCO4 (ORCPT ); Fri, 5 Oct 2012 22:14:56 -0400 Date: Sat, 6 Oct 2012 11:14:51 +0900 From: Tejun Heo To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arm@kernel.org, Li Zefan , Ben Blum Subject: Re: [PATCH 07/16] cgroup: fix warning when building without any subsys Message-ID: <20121006021451.GA2601@localhost> References: <1349448930-23976-1-git-send-email-arnd@arndb.de> <1349448930-23976-8-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349448930-23976-8-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/