]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32s: mfsrin()/mtsrin() become mfsr()/mtsr()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 6 Feb 2021 11:47:27 +0000 (11:47 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 14:10:15 +0000 (01:10 +1100)
commit179ae57dbad1b9a83eec376aa44d54fc24352e37
tree06811153c0a8715964a407f9bdc55411dce2a3cf
parentfd659e8f2c6d1e1e96fd5bdb515518801cd02012
powerpc/32s: mfsrin()/mtsrin() become mfsr()/mtsr()

Function names should tell what the function does, not how.

mfsrin() and mtsrin() are read/writing segment registers.

They are called that way because they are using mfsrin and mtsrin
instructions, but it doesn't matter for the caller.

In preparation of following patch, change their name to mfsr() and mtsr()
in order to make it obvious they manipulate segment registers without
messing up with how they do it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f92d99f4349391b77766745900231aa880a0efb5.1612612022.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/book3s/32/kup.h
arch/powerpc/include/asm/reg.h
arch/powerpc/mm/book3s32/mmu.c
arch/powerpc/mm/ptdump/segment_regs.c
arch/powerpc/xmon/xmon.c