]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Mon, 16 May 2022 07:14:22 +0000 (12:44 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:58:29 +0000 (15:58 +1000)
commit097ad3a46190d56cc752e8e39ce89ffdba81778a
tree466a0def1d711501fd547700a36abe192045678e
parentd86aad67328e19c688d2a71f83f36ae45c385676
powerpc/ftrace: Remove ftrace init tramp once kernel init is complete

Stop using the ftrace trampoline for init section once kernel init is
complete.

Fixes: 7982444d138fc6 ("powerpc/ftrace: Handle large kernel configs")
Cc: stable@vger.kernel.org # v4.20+
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220516071422.463738-1-naveen.n.rao@linux.vnet.ibm.com
arch/powerpc/include/asm/ftrace.h
arch/powerpc/kernel/trace/ftrace.c
arch/powerpc/mm/mem.c