From: Randy Dunlap Date: Mon, 29 Mar 2010 18:01:14 +0000 (+0900) Subject: kmemcheck: Fix build errors due to missing slab.h X-Git-Tag: upstream/snapshot3+hdmi~14912^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea5a9f0c3447889abceb7482c391bb977472eab9;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Tejun Heo --- diff --git a/mm/kmemcheck.c b/mm/kmemcheck.c index 8f8e48a..fd814fd 100644 --- a/mm/kmemcheck.c +++ b/mm/kmemcheck.c @@ -1,6 +1,7 @@ #include #include #include +#include #include void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node)