powerpc/breakpoint: Cleanup
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 22 Sep 2021 13:37:18 +0000 (15:37 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 Oct 2021 04:22:06 +0000 (15:22 +1100)
commita61ec782a754229b24aae2d6c2109510d6420ae6
treea09078b74143c4d8727e7cacd95494034e70ade0
parentfdacae8a84024474afff234bdd1dbe19ad597a10
powerpc/breakpoint: Cleanup

cache_op_size() does exactly the same as l1_dcache_bytes().

Remove it.

MSR_64BIT already exists, no need to enclode the check
around #ifdef __powerpc64__

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6184b08088312a7d787d450eb902584e4ae77f7a.1632317816.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/hw_breakpoint_constraints.c