memcg: don't initialize kmem-cache destroying work for root caches
[linux-2.6.git] / lib / dump_stack.c
blob53bad099ebd6310cf5dfac7dc7ae44fc85df82c8
1 /*
2 * Provide a default dump_stack() function for architectures
3 * which don't implement their own.
4 */
6 #include <linux/kernel.h>
7 #include <linux/export.h>
8 #include <linux/sched.h>
10 /**
11 * dump_stack - dump the current task information and its stack trace
13 * Architectures can override this implementation by implementing its own.
15 void dump_stack(void)
17 dump_stack_print_info(KERN_DEFAULT);
18 show_stack(NULL, NULL);
20 EXPORT_SYMBOL(dump_stack);