s390/ftrace: move hotpatch trampolines to mcount.S
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Mar 2023 12:50:36 +0000 (13:50 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 10:12:46 +0000 (11:12 +0100)
commitdfa2a72cdbfc3b7cda196b3389579cff88201ce6
treec4e38d8db0e202224d94662c7e664ba982ebec33
parent6ef55060a1cc29dd54ff390f22cb3de266dab2b0
s390/ftrace: move hotpatch trampolines to mcount.S

Move the ftrace hotpatch trampolines to mcount.S. This allows to make
use of the standard SYM_CODE macros which again makes sure that the
hotpatch trampolines follow the function alignment rules of the rest
of the kernel.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/ftrace.c
arch/s390/kernel/mcount.S