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)
commit1cbf8990d79ff69da8ad09e8a3df014e1494462b
tree55e80dbb95860ce7a17abc25b46fd28a552fa7ce
parent76a5eaa38b15dda92cd6964248c39b5a6f3a4e9d
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