]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fe504efed0de1b860d807f29ee30753d45d532b
treefca00fca20fff3900a9f7b224df799d667f05ef0
parent11b6e2e96a21c2f6a0721a4e0aa5ff67dc487ce0
Revert "powerpc: slightly improve cache helpers"

This reverts commit 8314cc4aeca7f288c17cee9175fad962d56139da.

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