OSDN Git Service

Revert "powerpc: slightly improve cache helpers"
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Jul 2019 12:28:54 +0000 (22:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Jul 2019 12:56:27 +0000 (22:56 +1000)
commited4289e8b48845888ee46377bd2b55884a55e60b
treefca00fca20fff3900a9f7b224df799d667f05ef0
parentd7e23b887f67178c4f840781be7a6aa6aeb52ab1
Revert "powerpc: slightly improve cache helpers"

This reverts commit 6c5875843b87c3adea2beade9d1b8b3d4523900a.

It triggers a probable compiler bug on clang which leads to crashes.

With GCC it allows the compiler to use a more efficient register
allocation but current GCC versions never do that at any of the current
call sites, so there's no benefit.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/cache.h