From: Andrew Morton <[email protected]> include/linux/kmemleak.h: In function 'kmemleak_alloc_recursive': include/linux/kmemleak.h:43: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function)
Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> (cherry picked from commit 66f2ca7e3f59312888131546176b42d6e248558a) Signed-off-by: Andrey Ryabinin <[email protected]> --- include/linux/kmemleak.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/kmemleak.h b/include/linux/kmemleak.h index 2a5e554..3345de3 100644 --- a/include/linux/kmemleak.h +++ b/include/linux/kmemleak.h @@ -21,6 +21,8 @@ #ifndef __KMEMLEAK_H #define __KMEMLEAK_H +#include <linux/slab.h> + #ifdef CONFIG_DEBUG_KMEMLEAK extern void kmemleak_init(void) __ref; -- 2.4.10 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
