diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-28 09:06:35 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-08 00:32:23 +1000 |
commit | af375eefbfb27cbb5b831984e66d724a40d26b5c (patch) | |
tree | eed13554eb3d6652a1e47422190ac8772b38d071 /arch/powerpc/platforms/powernv | |
parent | 179ab1cbf883575c3a585bcfc0f2160f1d22a149 (diff) | |
download | op-kernel-dev-af375eefbfb27cbb5b831984e66d724a40d26b5c.zip op-kernel-dev-af375eefbfb27cbb5b831984e66d724a40d26b5c.tar.gz |
powerpc/64: Call setup_barrier_nospec() from setup_arch()
Currently we require platform code to call setup_barrier_nospec(). But
if we add an empty definition for the !CONFIG_PPC_BARRIER_NOSPEC case
then we can call it in setup_arch().
Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv')
-rw-r--r-- | arch/powerpc/platforms/powernv/setup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/setup.c b/arch/powerpc/platforms/powernv/setup.c index 7b09f66..3fc2530 100644 --- a/arch/powerpc/platforms/powernv/setup.c +++ b/arch/powerpc/platforms/powernv/setup.c @@ -124,7 +124,6 @@ static void pnv_setup_rfi_flush(void) security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV)); setup_rfi_flush(type, enable); - setup_barrier_nospec(); } static void __init pnv_setup_arch(void) |