Skip to content

Commit dc24b7b

Browse files
hbruecknerMartin Schwidefsky
authored andcommitted
s390/clean-up: use CFI_* macros in entry.S
Commit f19fbd5 ("s390: introduce execute-trampolines for branches") introduces .cfi_* assembler directives. Instead of using the directives directly, use the macros from asm/dwarf.h. This also ensures that the dwarf debug information are created in the .debug_frame section. Fixes: f19fbd5 ("s390: introduce execute-trampolines for branches") Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 2cb370d commit dc24b7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/s390/kernel/entry.S

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <asm/processor.h>
1515
#include <asm/cache.h>
1616
#include <asm/ctl_reg.h>
17+
#include <asm/dwarf.h>
1718
#include <asm/errno.h>
1819
#include <asm/ptrace.h>
1920
#include <asm/thread_info.h>
@@ -230,7 +231,7 @@ _PIF_WORK = (_PIF_PER_TRAP | _PIF_SYSCALL_RESTART)
230231
.hidden \name
231232
.type \name,@function
232233
\name:
233-
.cfi_startproc
234+
CFI_STARTPROC
234235
#ifdef CONFIG_HAVE_MARCH_Z10_FEATURES
235236
exrl 0,0f
236237
#else
@@ -239,7 +240,7 @@ _PIF_WORK = (_PIF_PER_TRAP | _PIF_SYSCALL_RESTART)
239240
#endif
240241
j .
241242
0: br \reg
242-
.cfi_endproc
243+
CFI_ENDPROC
243244
.endm
244245

245246
GEN_BR_THUNK __s390x_indirect_jump_r1use_r9,%r9,%r1

0 commit comments

Comments
 (0)