We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780a0cf commit 63e8031Copy full SHA for 63e8031
arch/hexagon/kernel/stacktrace.c
@@ -11,8 +11,6 @@
11
#include <linux/thread_info.h>
12
#include <linux/module.h>
13
14
-register unsigned long current_frame_pointer asm("r30");
15
-
16
struct stackframe {
17
unsigned long fp;
18
unsigned long rets;
@@ -30,7 +28,7 @@ void save_stack_trace(struct stack_trace *trace)
30
28
31
29
low = (unsigned long)task_stack_page(current);
32
high = low + THREAD_SIZE;
33
- fp = current_frame_pointer;
+ fp = (unsigned long)__builtin_frame_address(0);
34
35
while (fp >= low && fp <= (high - sizeof(*frame))) {
36
frame = (struct stackframe *)fp;
0 commit comments