From: Daniel Wagner Date: Wed, 12 Sep 2012 14:12:06 +0000 (+0200) Subject: cgroup: Do not depend on a given order when populating the subsys array X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~51^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f4c87774721e864d5a5a1f7aca3e95fd90e194;p=pandora-kernel.git cgroup: Do not depend on a given order when populating the subsys array The *_subsys_id will be used as index to access the subsys. Therefore we need to care we populate the subsystem at the correct position by using designated initialization. With this change we are able to interleave builtin and modules in the subsys array. Signed-off-by: Daniel Wagner Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Neil Horman Cc: Gao feng Cc: Jamal Hadi Salim Cc: John Fastabend Cc: netdev@vger.kernel.org Cc: cgroups@vger.kernel.org --- Reading git-diff-tree failed