Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba240cd1 authored by Dustin Brown's avatar Dustin Brown Committed by Gerrit - the friendly Code Review server
Browse files

arm/arm64: Define backport flag for save_stack_trace_tsk()



The export of save_stack_trace_tsk() was previously backported to
msm-4.9, without a backported flag to detect support. Define a new
backport flag, so kernel modules can use this function when it is
exported.

Change-Id: Iec65e6f9fed0a9bf686f5e5c8ba4f59691eb1ee0
CRs-Fixed: 2105458
Signed-off-by: default avatarDustin Brown <dustinb@codeaurora.org>
parent d41da87e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ extern void print_stack_trace(struct stack_trace *trace, int spaces);
extern int snprint_stack_trace(char *buf, size_t size,
			struct stack_trace *trace, int spaces);

#define BACKPORTED_EXPORT_SAVE_STACK_TRACE_TSK_ARM

#ifdef CONFIG_USER_STACKTRACE_SUPPORT
extern void save_stack_trace_user(struct stack_trace *trace);
#else