diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-03-29 14:01:14 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-03-30 09:02:32 -0400 |
commit | ea5a9f0c3447889abceb7482c391bb977472eab9 (patch) | |
tree | ca3fa5945eeea2363696b13593efb9094661d865 /mm | |
parent | 5a0e3ad6af8660be21ca98a971cd00f331318c05 (diff) |
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.c | 1 |
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 @@ | |||
1 | #include <linux/gfp.h> | 1 | #include <linux/gfp.h> |
2 | #include <linux/mm_types.h> | 2 | #include <linux/mm_types.h> |
3 | #include <linux/mm.h> | 3 | #include <linux/mm.h> |
4 | #include <linux/slab.h> | ||
4 | #include <linux/kmemcheck.h> | 5 | #include <linux/kmemcheck.h> |
5 | 6 | ||
6 | void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node) | 7 | void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node) |