cgroup: reorganize include/linux/cgroup.h
authorTejun Heo <tj@kernel.org>
Wed, 13 May 2015 20:24:16 +0000 (16:24 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 18 May 2015 19:52:20 +0000 (15:52 -0400)
commitc326aa2bb2209e10df4a381801bb34ca0f923038
treed2824a14cc8ec45c053de70545ee5e4afa4872a4
parentb4a04ab7a37b490cad48e69abfe14288cacb669c
cgroup: reorganize include/linux/cgroup.h

From c4d440938b5e2015c70594fe6666a099c844f929 Mon Sep 17 00:00:00 2001
From: Tejun Heo <tj@kernel.org>
Date: Wed, 13 May 2015 16:21:40 -0400

Over time, cgroup.h grew organically and doesn't have much logical
structure at this point.  Separation of cgroup-defs.h in the previous
patch gives us a good chance for reorganizing cgroup.h as changes to
the header are likely to cause conflicts anyway.

This patch reorganizes cgroup.h so that it has consistent logical
grouping.

This is pure reorganization.

v2: Relocating #ifdef CONFIG_CGROUPS caused build failure when cgroup
    is disabled.  Dropped.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup.h