diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-07-07 22:47:01 +0300 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-07 22:47:01 +0300 |
commit | bfa71457a091ac0e4e20cab36e8ebad63935e504 (patch) | |
tree | e28fc1c9d38a15a37b9edc0e0417abf5342af588 /mm/slub.c | |
parent | c4089f98e943ff445665dea49c190657b34ccffe (diff) | |
download | lwn-bfa71457a091ac0e4e20cab36e8ebad63935e504.tar.gz lwn-bfa71457a091ac0e4e20cab36e8ebad63935e504.zip |
SLUB: Fix missing <linux/stacktrace.h> include
This fixes the following build breakage commit d6543e3 ("slub: Enable backtrace
for create/delete points"):
CC mm/slub.o
mm/slub.c: In function ‘set_track’:
mm/slub.c:428: error: storage size of ‘trace’ isn’t known
mm/slub.c:435: error: implicit declaration of function ‘save_stack_trace’
mm/slub.c:428: warning: unused variable ‘trace’
make[1]: *** [mm/slub.o] Error 1
make: *** [mm/slub.o] Error 2
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slub.c b/mm/slub.c index e3403b30159e..f899ff469f60 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -27,6 +27,7 @@ #include <linux/memory.h> #include <linux/math64.h> #include <linux/fault-inject.h> +#include <linux/stacktrace.h> #include <trace/events/kmem.h> |