powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Jun 2018 11:09:01 +0000 (21:09 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Jun 2018 14:44:36 +0000 (16:44 +0200)
commit76e0b304b38764497044fb064deafd79a0d92c14
treeedabfb3a527cc4ad49d752acc153e3404ef9c59b
parentfe1a517821084cc8c80fc4d0bd9da86323868769
powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()

commit 2e4a16161fcd324b1f9bf6cb6856529f7eaf0689 upstream.

Now that we have the security flags we can simplify the code in
pseries_setup_rfi_flush() because the security flags have pessimistic
defaults.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/pseries/setup.c