summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-03-30 03:01:14 +0900
committerTejun Heo <tj@kernel.org>2010-03-30 22:02:32 +0900
commitea5a9f0c3447889abceb7482c391bb977472eab9 (patch)
treeca3fa5945eeea2363696b13593efb9094661d865 /mm
parent5a0e3ad6af8660be21ca98a971cd00f331318c05 (diff)
downloadlinux-ea5a9f0c3447889abceb7482c391bb977472eab9.tar.bz2
kmemcheck: Fix build errors due to missing slab.h
mm/kmemcheck.c:69: error: dereferencing pointer to incomplete type mm/kmemcheck.c:69: error: 'SLAB_NOTRACK' undeclared (first use in this function) mm/kmemcheck.c:82: error: dereferencing pointer to incomplete type mm/kmemcheck.c:94: error: dereferencing pointer to incomplete type mm/kmemcheck.c:94: error: dereferencing pointer to incomplete type mm/kmemcheck.c:94: error: 'SLAB_DESTROY_BY_RCU' undeclared (first use in this function) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/kmemcheck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/kmemcheck.c b/mm/kmemcheck.c
index 8f8e48acf7d9..fd814fd61319 100644
--- a/mm/kmemcheck.c
+++ b/mm/kmemcheck.c
@@ -1,6 +1,7 @@
#include <linux/gfp.h>
#include <linux/mm_types.h>
#include <linux/mm.h>
+#include <linux/slab.h>
#include <linux/kmemcheck.h>
void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node)