From: Andrew Morton Date: Sat, 21 Jul 2012 00:54:03 +0000 (+1000) Subject: hugetlb-cgroup-add-hugetlb-cgroup-control-files-fix X-Git-Tag: next-20120725~1^2~236 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb8ad9f1904c59a315d293d4dff3472ac12e6ad8;p=karo-tx-linux.git hugetlb-cgroup-add-hugetlb-cgroup-control-files-fix s/CONFIG_CGROUP_HUGETLB_RES_CTLR/CONFIG_MEMCG_HUGETLB/g Cc: "Aneesh Kumar K.V" Cc: Aneesh Kumar K.V Cc: David Rientjes Cc: Hillf Danton Cc: KAMEZAWA Hiroyuki Cc: KOSAKI Motohiro Cc: Michal Hocko Signed-off-by: Andrew Morton --- diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 0f0877ee217b..414e8347c4c6 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -222,7 +222,7 @@ struct hstate { unsigned int nr_huge_pages_node[MAX_NUMNODES]; unsigned int free_huge_pages_node[MAX_NUMNODES]; unsigned int surplus_huge_pages_node[MAX_NUMNODES]; -#ifdef CONFIG_CGROUP_HUGETLB_RES_CTLR +#ifdef CONFIG_MEMCG_HUGETLB /* cgroup control files */ struct cftype cgroup_files[5]; #endif