Commit aaaac068 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/mcount: use SYM* macros instead of ENTRY(), etc.

Consistently use the SYM* family of macros instead of the
deprecated ENTRY(), ENDPROC(), etc. family of macros.
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent b5f3c99d
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
.section .kprobes.text, "ax" .section .kprobes.text, "ax"
ENTRY(ftrace_stub) SYM_FUNC_START(ftrace_stub)
BR_EX %r14 BR_EX %r14
ENDPROC(ftrace_stub) SYM_FUNC_END(ftrace_stub)
.macro ftrace_regs_entry, allregs=0 .macro ftrace_regs_entry, allregs=0
stg %r14,(__SF_GPRS+8*8)(%r15) # save traced function caller stg %r14,(__SF_GPRS+8*8)(%r15) # save traced function caller
...@@ -153,8 +153,7 @@ SYM_CODE_END(ftrace_shared_hotpatch_trampoline_exrl) ...@@ -153,8 +153,7 @@ SYM_CODE_END(ftrace_shared_hotpatch_trampoline_exrl)
#ifdef CONFIG_RETHOOK #ifdef CONFIG_RETHOOK
SYM_FUNC_START(arch_rethook_trampoline) SYM_CODE_START(arch_rethook_trampoline)
stg %r14,(__SF_GPRS+8*8)(%r15) stg %r14,(__SF_GPRS+8*8)(%r15)
lay %r15,-STACK_FRAME_SIZE(%r15) lay %r15,-STACK_FRAME_SIZE(%r15)
stmg %r0,%r14,STACK_PTREGS_GPRS(%r15) stmg %r0,%r14,STACK_PTREGS_GPRS(%r15)
...@@ -177,7 +176,6 @@ SYM_FUNC_START(arch_rethook_trampoline) ...@@ -177,7 +176,6 @@ SYM_FUNC_START(arch_rethook_trampoline)
mvc __SF_EMPTY(16,%r7),STACK_PTREGS_PSW(%r15) mvc __SF_EMPTY(16,%r7),STACK_PTREGS_PSW(%r15)
lmg %r0,%r15,STACK_PTREGS_GPRS(%r15) lmg %r0,%r15,STACK_PTREGS_GPRS(%r15)
lpswe __SF_EMPTY(%r15) lpswe __SF_EMPTY(%r15)
SYM_CODE_END(arch_rethook_trampoline)
SYM_FUNC_END(arch_rethook_trampoline)
#endif /* CONFIG_RETHOOK */ #endif /* CONFIG_RETHOOK */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment