|
@@ -49,16 +49,10 @@ extern const struct file_operations proc_cgroup_operations;
|
|
#define IS_SUBSYS_ENABLED(option) IS_ENABLED(option)
|
|
#define IS_SUBSYS_ENABLED(option) IS_ENABLED(option)
|
|
enum cgroup_subsys_id {
|
|
enum cgroup_subsys_id {
|
|
#include <linux/cgroup_subsys.h>
|
|
#include <linux/cgroup_subsys.h>
|
|
- __CGROUP_TEMPORARY_PLACEHOLDER
|
|
|
|
|
|
+ CGROUP_SUBSYS_COUNT,
|
|
};
|
|
};
|
|
#undef IS_SUBSYS_ENABLED
|
|
#undef IS_SUBSYS_ENABLED
|
|
#undef SUBSYS
|
|
#undef SUBSYS
|
|
-/*
|
|
|
|
- * This define indicates the maximum number of subsystems that can be loaded
|
|
|
|
- * at once. We limit to this many since cgroupfs_root has subsys_bits to keep
|
|
|
|
- * track of all of them.
|
|
|
|
- */
|
|
|
|
-#define CGROUP_SUBSYS_COUNT (BITS_PER_BYTE*sizeof(unsigned long))
|
|
|
|
|
|
|
|
/* Per-subsystem/per-cgroup state maintained by the system. */
|
|
/* Per-subsystem/per-cgroup state maintained by the system. */
|
|
struct cgroup_subsys_state {
|
|
struct cgroup_subsys_state {
|