diff options
| author | 2025-09-12 10:27:38 -0400 | |
|---|---|---|
| committer | 2025-09-15 16:40:52 +0530 | |
| commit | 5337609a314828aa2474ac359db615f475c4a4d2 (patch) | |
| tree | 48747d645ee800f523d592bf13cb1d350c83b2d4 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | powerpc/603: Really copy kernel PGD entries into all PGDIRs (diff) | |
| download | wireguard-linux-5337609a314828aa2474ac359db615f475c4a4d2.tar.xz wireguard-linux-5337609a314828aa2474ac359db615f475c4a4d2.zip | |
powerpc/ftrace: ensure ftrace record ops are always set for NOPs
When an ftrace call site is converted to a NOP, its corresponding
dyn_ftrace record should have its ftrace_ops pointer set to
ftrace_nop_ops.
Correct the powerpc implementation to ensure the
ftrace_rec_set_nop_ops() helper is called on all successful NOP
initialization paths. This ensures all ftrace records are consistent
before being handled by the ftrace core.
Fixes: eec37961a56a ("powerpc64/ftrace: Move ftrace sequence out of line")
Suggested-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Naveen N Rao (AMD) <naveen@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250912142740.3581368-2-joe.lawrence@redhat.com
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
