drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / lib / dump_stack.c
CommitLineData
1da177e4
LT
1/*
2 * Provide a default dump_stack() function for architectures
3 * which don't implement their own.
4 */
5
6#include <linux/kernel.h>
8bc3bcc9 7#include <linux/export.h>
196779b9 8#include <linux/sched.h>
1da177e4 9
196779b9
TH
10/**
11 * dump_stack - dump the current task information and its stack trace
12 *
13 * Architectures can override this implementation by implementing its own.
14 */
1da177e4
LT
15void dump_stack(void)
16{
196779b9
TH
17 dump_stack_print_info(KERN_DEFAULT);
18 show_stack(NULL, NULL);
1da177e4 19}
1da177e4 20EXPORT_SYMBOL(dump_stack);