summaryrefslogtreecommitdiffstats
path: root/kernel/bounds.c
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2014-08-08 14:19:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 15:57:18 -0700
commit9a3f4d85d58cb4e02e226f9be946d54c33eb715b (patch)
tree49de1db1a09ee321ce1466651e82d96ab88c6ab1 /kernel/bounds.c
parent434584fe68155f884b19f32b3befec8972c5d563 (diff)
downloadlinux-stable-9a3f4d85d58cb4e02e226f9be946d54c33eb715b.tar.gz
linux-stable-9a3f4d85d58cb4e02e226f9be946d54c33eb715b.tar.bz2
linux-stable-9a3f4d85d58cb4e02e226f9be946d54c33eb715b.zip
page-cgroup: get rid of NR_PCG_FLAGS
It's not used anywhere today, so let's remove it. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Acked-by: Michal Hocko <mhocko@suse.cz> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/bounds.c')
-rw-r--r--kernel/bounds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/bounds.c b/kernel/bounds.c
index 9fd4246b04b8..e1d1d1952bfa 100644
--- a/kernel/bounds.c
+++ b/kernel/bounds.c
@@ -9,7 +9,6 @@
#include <linux/page-flags.h>
#include <linux/mmzone.h>
#include <linux/kbuild.h>
-#include <linux/page_cgroup.h>
#include <linux/log2.h>
#include <linux/spinlock_types.h>
@@ -18,7 +17,6 @@ void foo(void)
/* The enum constants to put into include/generated/bounds.h */
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
- DEFINE(NR_PCG_FLAGS, __NR_PCG_FLAGS);
#ifdef CONFIG_SMP
DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
#endif