mcount.S (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) | mcount.S (d983c89cc96a87db0c00821e81aa3d8296c12225) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright IBM Corp. 2008, 2009 4 * 5 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>, 6 * 7 */ 8 --- 21 unchanged lines hidden (view full) --- 30 BR_EX %r14 31 32EXPORT_SYMBOL(_mcount) 33 34ENTRY(ftrace_caller) 35 .globl ftrace_regs_caller 36 .set ftrace_regs_caller,ftrace_caller 37 lgr %r1,%r15 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright IBM Corp. 2008, 2009 4 * 5 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>, 6 * 7 */ 8 --- 21 unchanged lines hidden (view full) --- 30 BR_EX %r14 31 32EXPORT_SYMBOL(_mcount) 33 34ENTRY(ftrace_caller) 35 .globl ftrace_regs_caller 36 .set ftrace_regs_caller,ftrace_caller 37 lgr %r1,%r15 |
38#ifndef CC_USING_HOTPATCH | 38#if !(defined(CC_USING_HOTPATCH) || defined(CC_USING_NOP_MCOUNT)) |
39 aghi %r0,MCOUNT_RETURN_FIXUP 40#endif 41 aghi %r15,-STACK_FRAME_SIZE 42 stg %r1,__SF_BACKCHAIN(%r15) 43 stg %r1,(STACK_PTREGS_GPRS+15*8)(%r15) 44 stg %r0,(STACK_PTREGS_PSW+8)(%r15) 45 stmg %r2,%r14,(STACK_PTREGS_GPRS+2*8)(%r15) 46#ifdef CONFIG_HAVE_MARCH_Z196_FEATURES --- 44 unchanged lines hidden --- | 39 aghi %r0,MCOUNT_RETURN_FIXUP 40#endif 41 aghi %r15,-STACK_FRAME_SIZE 42 stg %r1,__SF_BACKCHAIN(%r15) 43 stg %r1,(STACK_PTREGS_GPRS+15*8)(%r15) 44 stg %r0,(STACK_PTREGS_PSW+8)(%r15) 45 stmg %r2,%r14,(STACK_PTREGS_GPRS+2*8)(%r15) 46#ifdef CONFIG_HAVE_MARCH_Z196_FEATURES --- 44 unchanged lines hidden --- |