Loading drivers/net/wireless/cnss/cnss_common.c +10 −1 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -104,3 +104,12 @@ int cnss_set_cpus_allowed_ptr(struct task_struct *task, ulong cpu) } EXPORT_SYMBOL(cnss_set_cpus_allowed_ptr); /* wlan prop driver cannot invoke show_stack * function directly, so to invoke this function it * call wcnss_dump_stack function */ void cnss_dump_stack(struct task_struct *task) { show_stack(task, NULL); } EXPORT_SYMBOL(cnss_dump_stack); include/net/cnss.h +1 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ enum { CNSS_RESET_LEVEL_MAX }; extern int cnss_get_restart_level(void); extern void cnss_dump_stack(struct task_struct *task); #ifdef CONFIG_CNSS_SDIO struct cnss_sdio_wlan_driver { Loading Loading
drivers/net/wireless/cnss/cnss_common.c +10 −1 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -104,3 +104,12 @@ int cnss_set_cpus_allowed_ptr(struct task_struct *task, ulong cpu) } EXPORT_SYMBOL(cnss_set_cpus_allowed_ptr); /* wlan prop driver cannot invoke show_stack * function directly, so to invoke this function it * call wcnss_dump_stack function */ void cnss_dump_stack(struct task_struct *task) { show_stack(task, NULL); } EXPORT_SYMBOL(cnss_dump_stack);
include/net/cnss.h +1 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ enum { CNSS_RESET_LEVEL_MAX }; extern int cnss_get_restart_level(void); extern void cnss_dump_stack(struct task_struct *task); #ifdef CONFIG_CNSS_SDIO struct cnss_sdio_wlan_driver { Loading