26 lines
786 B
Diff
26 lines
786 B
Diff
From f4f0da6db3be523472b25a219ea245fd6d3489f9 Mon Sep 17 00:00:00 2001
|
|
From: "Frank Ch. Eigler" <fche@redhat.com>
|
|
Date: Tue, 20 Aug 2019 22:17:02 -0400
|
|
Subject: [PATCH] PR24904: support linux 5.2's stacktrace.c changes with
|
|
-DDEBUG_UNWIND too
|
|
|
|
---
|
|
runtime/stack.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/runtime/stack.c b/runtime/stack.c
|
|
index bf59b2909..6ec7b2602 100644
|
|
--- a/runtime/stack.c
|
|
+++ b/runtime/stack.c
|
|
@@ -56,7 +56,7 @@ _stp_init_stack(void)
|
|
{
|
|
stack_trace_save_regs_fn = (void*) kallsyms_lookup_name("stack_trace_save_regs");
|
|
dbug_unwind(1, "stack_trace_saves_regs_fn=%lx for _stp_stack_print_fallback().\n",
|
|
- (unsigned long) save_trace_save_regs_fn);
|
|
+ (unsigned long) stack_trace_save_regs_fn);
|
|
return 0;
|
|
}
|
|
|
|
--
|
|
2.21.0
|
|
|