selftests/powerpc/pmu/tm: fix typos in tm-trap
PATCH 1/1 selftests/powerpc/pmu/tm: fix typos in tm-trap
Fix spelling mistakes:
tmp_trap.c:94 te -> the
tmp_trap.c:96 tread -> treated
reported by: codespell
Signed-off-by Moktar SELLAMI <[email protected]>
--- tools/testing/selftests/powerpc/tm/tm-trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/powerpc/tm/tm-trap.c +2 -2
@@ -91,9 +91,9 @@ void trap_signal_handler(int signo, siginfo_t *si, void *uc)* LE endianness does in effect nothing, instruction (2) * is then executed again as 'trap', generating a second * trap event (note that in that case 'trap' is caught -* not in transacional mode). On te other hand, if after +* not in transacional mode). On the other hand, if after * the return from the signal handler the endianness in- -* advertently flipped, instruction (1) is tread as a +* advertently flipped, instruction (1) is treated as a * branch instruction, i.e. b .+8, hence instruction (3) * and (4) are executed (tbegin.; trap;) and we get sim- * ilaly on the trap signal handler, but now in TM mode.
Signature · 1 line
2.34.1