]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl: Add macro to flush the branch predictor
authorDiana Craciun <diana.craciun@nxp.com>
Wed, 12 Dec 2018 14:03:01 +0000 (16:03 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:58:57 +0000 (22:58 +1100)
commit776a840d80fc701e66493f4b585200d1bd874f46
tree55e80dbb95860ce7a17abc25b46fd28a552fa7ce
parent1ef1dc33c7562b8c2f95d033a55c2b60d58b74f8
powerpc/fsl: Add macro to flush the branch predictor

The BUCSR register can be used to invalidate the entries in the
branch prediction mechanisms.

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h