]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b4f303d39a6c6a032ea52023da364bdc93a4a9d
treea09078b74143c4d8727e7cacd95494034e70ade0
parent1e9b851afb51969a9442d5bcd0b7b94153d0b709
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