File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ struct unwind_hint {
40
40
41
41
#ifdef CONFIG_STACK_VALIDATION
42
42
43
+ #include <asm/asm.h>
44
+
43
45
#ifndef __ASSEMBLY__
44
46
45
47
#define UNWIND_HINT (sp_reg , sp_offset , type , end ) \
@@ -137,7 +139,7 @@ struct unwind_hint {
137
139
138
140
.macro STACK_FRAME_NON_STANDARD func :req
139
141
.pushsection .discard .func_stack_frame_non_standard , "aw"
140
- . long \func - .
142
+ _ASM_PTR \func
141
143
.popsection
142
144
.endm
143
145
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ struct unwind_hint {
40
40
41
41
#ifdef CONFIG_STACK_VALIDATION
42
42
43
+ #include <asm/asm.h>
44
+
43
45
#ifndef __ASSEMBLY__
44
46
45
47
#define UNWIND_HINT (sp_reg , sp_offset , type , end ) \
@@ -137,7 +139,7 @@ struct unwind_hint {
137
139
138
140
.macro STACK_FRAME_NON_STANDARD func :req
139
141
.pushsection .discard .func_stack_frame_non_standard , "aw"
140
- . long \func - .
142
+ _ASM_PTR \func
141
143
.popsection
142
144
.endm
143
145
You can’t perform that action at this time.
0 commit comments