]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/lib/sstep: Use l1_dcache_bytes() instead of opencoding
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 21 Jan 2022 08:06:27 +0000 (08:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 12 Feb 2022 11:47:42 +0000 (22:47 +1100)
commitb5d61452f80e347188eeee05f8a1b61781b7d84c
tree20d80575a178024a7a2bd0c8a99318062a7fe67c
parent31e8aa5f061cf6462ea398917a9c8183586fb878
powerpc/lib/sstep: Use l1_dcache_bytes() instead of opencoding

Don't opencode dcache size retrieval based on whether that's ppc32 or ppc64.

Use l1_dcache_bytes()

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6c608fd4795e2d8ea1a0a449405a0087f76d8bb3.1642752375.git.christophe.leroy@csgroup.eu
arch/powerpc/lib/sstep.c