summaryrefslogtreecommitdiffstats
path: root/Documentation/fb/sstfb.txt
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2015-09-09 00:01:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-09 00:35:28 +0200
commitfabc3fdde00b54825ba23230aedbf88a735b4e49 (patch)
tree9c6360e09f1ec15e5f85ec0cf6f5f79b7824a152 /Documentation/fb/sstfb.txt
parentmemcg: export struct mem_cgroup (diff)
downloadlinux-fabc3fdde00b54825ba23230aedbf88a735b4e49.tar.xz
linux-fabc3fdde00b54825ba23230aedbf88a735b4e49.zip
memcg: get rid of mem_cgroup_root_css for !CONFIG_MEMCG
The only user is cgwb_bdi_init and that one depends on CONFIG_CGROUP_WRITEBACK which in turn depends on CONFIG_MEMCG so it doesn't make much sense to definte an empty stub for !CONFIG_MEMCG. Moreover ERR_PTR(-EINVAL) is ugly and would lead to runtime crashes if used in unguarded code paths. Better fail during compilation. Signed-off-by: Michal Hocko <mhocko@suse.cz> Reviewed-by: Vladimir Davydov <vdavydov@parallels.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/fb/sstfb.txt')
0 files changed, 0 insertions, 0 deletions