diff options
| author | 2025-09-12 10:27:39 -0400 | |
|---|---|---|
| committer | 2025-09-15 16:40:52 +0530 | |
| commit | f6b4df37ebfeb47e50e27780500d2d06b4d211bd (patch) | |
| tree | d7e20ba84c8638b46ba3303bc726ba7ed93ee544 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | powerpc/ftrace: ensure ftrace record ops are always set for NOPs (diff) | |
| download | wireguard-linux-f6b4df37ebfeb47e50e27780500d2d06b4d211bd.tar.xz wireguard-linux-f6b4df37ebfeb47e50e27780500d2d06b4d211bd.zip | |
powerpc64/modules: correctly iterate over stubs in setup_ftrace_ool_stubs
CONFIG_PPC_FTRACE_OUT_OF_LINE introduced setup_ftrace_ool_stubs() to
extend the ppc64le module .stubs section with an array of
ftrace_ool_stub structures for each patchable function.
Fix its ppc64_stub_entry stub reservation loop to properly write across
all of the num_stubs used and not just the first entry.
Fixes: eec37961a56a ("powerpc64/ftrace: Move ftrace sequence out of line")
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-3-joe.lawrence@redhat.com
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
