OSDN Git Service

powerpc/64: Make meltdown reporting Book3S 64 specific
authorDiana Craciun <diana.craciun@nxp.com>
Fri, 27 Jul 2018 23:06:36 +0000 (09:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:24 +0000 (00:32 +1000)
commit406d2b6ae3420f5bb2b3db6986dc6f0b6dbb637b
treef94d12d30bb0838aa17a7b51fe10b88dae03d315
parentaf375eefbfb27cbb5b831984e66d724a40d26b5c
powerpc/64: Make meltdown reporting Book3S 64 specific

In a subsequent patch we will enable building security.c for Book3E.
However the NXP platforms are not vulnerable to Meltdown, so make the
Meltdown vulnerability reporting PPC_BOOK3S_64 specific.

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/security.c