diff options
author | Christophe Leroy | 2021-02-06 11:47:27 +0000 |
---|---|---|
committer | Michael Ellerman | 2021-02-09 01:10:15 +1100 |
commit | 179ae57dbad1b9a83eec376aa44d54fc24352e37 (patch) | |
tree | 06811153c0a8715964a407f9bdc55411dce2a3cf /block/badblocks.c | |
parent | fd659e8f2c6d1e1e96fd5bdb515518801cd02012 (diff) |
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
Diffstat (limited to 'block/badblocks.c')
0 files changed, 0 insertions, 0 deletions