Skip to content

Commit

Permalink
kmemcheck: Fix build errors due to missing slab.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
  • Loading branch information
rddunlap authored and htejun committed Mar 30, 2010
1 parent 5a0e3ad commit ea5a9f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/kmemcheck.c
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit ea5a9f0

Please sign in to comment.