path: root/mm/vmpressure.c
diff options
authorTejun Heo <>2014-01-28 18:10:37 -0500
committerTejun Heo <>2014-02-03 13:24:01 -0500
commit1ff6bbfd13ca2c114a5cb58e1a92d1e5d68ce0b7 (patch)
tree3ef9611bb58c311a439b1fcdd46329c265c07b5e /mm/vmpressure.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
arm, pm, vmpressure: add missing slab.h includes
arch/arm/mach-tegra/pm.c, kernel/power/console.c and mm/vmpressure.c were somehow getting slab.h indirectly through cgroup.h which in turn was getting it indirectly through xattr.h. A scheduled cgroup change drops xattr.h inclusion from cgroup.h and breaks compilation of these three files. Add explicit slab.h includes to the three files. A pending cgroup patch depends on this change and it'd be great if this can be routed through cgroup/for-3.14-fixes branch. Signed-off-by: Tejun Heo <> Acked-by: Stephen Warren <> Cc: Thierry Reding <> Cc: Cc: "Rafael J. Wysocki" <> Cc: Cc: Johannes Weiner <> Cc: Michal Hocko <> Cc: Balbir Singh <> Cc: KAMEZAWA Hiroyuki <> Cc:
Diffstat (limited to 'mm/vmpressure.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmpressure.c b/mm/vmpressure.c
index 196970a4541f..d4042e75f7c7 100644
--- a/mm/vmpressure.c
+++ b/mm/vmpressure.c
@@ -19,6 +19,7 @@
#include <linux/mm.h>
#include <linux/vmstat.h>
#include <linux/eventfd.h>
+#include <linux/slab.h>
#include <linux/swap.h>
#include <linux/printk.h>
#include <linux/vmpressure.h>