summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-06-02 21:08:58 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-06 16:44:36 +0200
commit6f81254e77e238d04215dfa0d952f6af5819cc1d (patch)
tree6294252956f89ada373cc672c720a78a47cf4a17 /arch/powerpc/include
parentbdcfeadf97700af96107929a92ceaf04beb323f9 (diff)
downloadlinux-6f81254e77e238d04215dfa0d952f6af5819cc1d.tar.gz
linux-6f81254e77e238d04215dfa0d952f6af5819cc1d.tar.bz2
linux-6f81254e77e238d04215dfa0d952f6af5819cc1d.zip
powerpc/64s: Move cpu_show_meltdown()
commit 8ad33041563a10b34988800c682ada14b2612533 upstream. This landed in setup_64.c for no good reason other than we had nowhere else to put it. Now that we have a security-related file, that is a better place for it so move it. [mpe: Add extern for rfi_flush to fix bisection break] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/security_features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/security_features.h b/arch/powerpc/include/asm/security_features.h
index db00ad2c72c2..400a9050e035 100644
--- a/arch/powerpc/include/asm/security_features.h
+++ b/arch/powerpc/include/asm/security_features.h
@@ -10,6 +10,7 @@
extern unsigned long powerpc_security_features;
+extern bool rfi_flush;
static inline void security_ftr_set(unsigned long feature)
{