Skip to content

Commit 1ff6bbf

Browse files
committed
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 <tj@kernel.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: linux-tegra@vger.kernel.org Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: linux-pm@vger.kernel.org Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@suse.cz> Cc: Balbir Singh <bsingharora@gmail.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: cgroups@vger.kernel.org
1 parent 38dbfb5 commit 1ff6bbf

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎arch/arm/mach-tegra/pm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <linux/cpu_pm.h>
2525
#include <linux/suspend.h>
2626
#include <linux/err.h>
27+
#include <linux/slab.h>
2728
#include <linux/clk/tegra.h>
2829

2930
#include <asm/smp_plat.h>

‎kernel/power/console.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <linux/kbd_kern.h>
1010
#include <linux/vt.h>
1111
#include <linux/module.h>
12+
#include <linux/slab.h>
1213
#include "power.h"
1314

1415
#define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)

‎mm/vmpressure.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <linux/mm.h>
2020
#include <linux/vmstat.h>
2121
#include <linux/eventfd.h>
22+
#include <linux/slab.h>
2223
#include <linux/swap.h>
2324
#include <linux/printk.h>
2425
#include <linux/vmpressure.h>

0 commit comments

Comments
 (0)