]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/64: Call setup_barrier_nospec() from setup_arch()
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 29 Mar 2019 11:25:59 +0000 (22:25 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:25:12 +0000 (06:25 +0200)
commitef245f3d4494224da209adc91a9077d0467b85cd
treefdaef1a7fbd0002970d35ca3b642060152f194bd
parent56fe5a966a902b72e36a3b9991f07ed9c04f67fe
powerpc/64: Call setup_barrier_nospec() from setup_arch()

commit af375eefbfb27cbb5b831984e66d724a40d26b5c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/setup-common.c
arch/powerpc/platforms/powernv/setup.c
arch/powerpc/platforms/pseries/setup.c