summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPadma, Santhosh Kumar <skpadma@codeaurora.org>2015-11-25 12:30:19 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:12:59 -0700
commitfdffe2c952af8d0d19a7b5c0391d20961205ed45 (patch)
tree68e4762eb8e9dd6dc663800ddf8e1027cb64fafa /include/linux
parent41778206e4295d10ff63d332c026570ee971d114 (diff)
wcnss: Expose dump stack functionality
Add changes to expose dump stack functionality which can be used by driver to dump stack information when it requires. CRs-Fixed: 943322 Change-Id: I0fde7142dea2c18daf6b1fb0c5ee4bb8a31a6be0 Signed-off-by: Padma, Santhosh Kumar <skpadma@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/wcnss_wlan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h
index 3514e5e0b6c3..c93364b861d9 100644
--- a/include/linux/wcnss_wlan.h
+++ b/include/linux/wcnss_wlan.h
@@ -15,6 +15,7 @@
#define _WCNSS_WLAN_H_
#include <linux/device.h>
+#include <linux/sched.h>
#define IRIS_REGULATORS 4
#define PRONTO_REGULATORS 3
@@ -136,6 +137,7 @@ void wcnss_flush_delayed_work(struct delayed_work *dwork);
void wcnss_init_work(struct work_struct *work , void *callbackptr);
void wcnss_init_delayed_work(struct delayed_work *dwork , void *callbackptr);
int wcnss_get_iris_name(char *iris_version);
+void wcnss_dump_stack(struct task_struct *task);
#ifdef CONFIG_WCNSS_REGISTER_DUMP_ON_BITE
void wcnss_log_debug_regs_on_bite(void);