powerpc: Drop _nmask_and_or_msr()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 14 Aug 2020 06:54:49 +0000 (06:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:20 +0000 (11:00 +1000)
commite53281bc21f061f96c9004f534bc3e807d70cb73
tree1fe860e8c12a3c599784e8238b5a00e47e80962a
parent6c9100ea39d209e1625ba0fe06134192d9c4752a
powerpc: Drop _nmask_and_or_msr()

_nmask_and_or_msr() is only used at two places to set MSR_IP.

The SYNC is unnecessary as the users are not PowerPC 601.

Can be easily writen in C.

Do it, and drop _nmask_and_or_msr()

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c2d2b8dfb8dd677026b26dffc8d31070c38a6b89.1597388079.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/misc_32.S
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/platforms/embedded6xx/storcenter.c