]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/32: Convert patch_instruction() to patch_uint()
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 15 May 2024 02:44:44 +0000 (12:44 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2024 10:15:13 +0000 (20:15 +1000)
commit5799cd765fea93e643d81dbdae76a9c34e06dd18
treea2fd49c9fb993bf1142118ef4be323fcb0abab6e
parent90d4fed5b273155c378b1d37595f2209f0a92bed
powerpc/32: Convert patch_instruction() to patch_uint()

These changes are for patch_instruction() uses on data. Unlike ppc64
these should not be incorrect as-is, but using the patch_uint() alias
better reflects what kind of data being patched and allows for
benchmarking the effect of different patch_* implementations (e.g.,
skipping instruction flushing when patching data).

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Tested-by: Hari Bathini <hbathini@linux.ibm.com>
Acked-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240515024445.236364-5-bgray@linux.ibm.com
arch/powerpc/kernel/static_call.c
arch/powerpc/platforms/powermac/smp.c