diff options
author | Naveen N Rao <naveen@kernel.org> | 2023-12-08 17:30:42 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-13 11:49:22 +0100 |
commit | ae24db43b3b427eb290b58d55179c32f0a7539d1 (patch) | |
tree | 776903cc267256d1101eee5ca93b0584d797034b | |
parent | powerpc/ftrace: Fix indentation in ftrace.h (diff) | |
download | linux-ae24db43b3b427eb290b58d55179c32f0a7539d1.tar.xz linux-ae24db43b3b427eb290b58d55179c32f0a7539d1.zip |
powerpc/ftrace: Remove nops after the call to ftrace_stub
ftrace_stub is within the same CU, so there is no need for a subsequent
nop instruction.
Signed-off-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/8ee5ec520e37d5523654bb2cd65a17512fb774e2.1702045299.git.naveen@kernel.org
-rw-r--r-- | arch/powerpc/kernel/trace/ftrace_entry.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/trace/ftrace_entry.S b/arch/powerpc/kernel/trace/ftrace_entry.S index 90701885762c..a517a4085cff 100644 --- a/arch/powerpc/kernel/trace/ftrace_entry.S +++ b/arch/powerpc/kernel/trace/ftrace_entry.S @@ -162,7 +162,6 @@ _GLOBAL(ftrace_regs_caller) .globl ftrace_regs_call ftrace_regs_call: bl ftrace_stub - nop ftrace_regs_exit 1 _GLOBAL(ftrace_caller) @@ -171,7 +170,6 @@ _GLOBAL(ftrace_caller) .globl ftrace_call ftrace_call: bl ftrace_stub - nop ftrace_regs_exit 0 _GLOBAL(ftrace_stub) |