]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Move security code into security.c
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Mar 2021 10:12:01 +0000 (21:12 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Apr 2021 11:17:43 +0000 (21:17 +1000)
commit3247c5cc28fc0a2f1c72482a720bac42a2ab091d
treeb0b3a48681fb2cda62c8d4aeae2e98280de026de
parent527993a0b94ec524db7a70a6875f2196f21dff52
powerpc/64: Move security code into security.c

When the original spectre/meltdown mitigations were merged we put them
in setup_64.c for lack of a better place.

Since then we created security.c for some of the other mitigation
related code. But it should all be in there.

This sort of code movement can cause trouble for backports, but
hopefully this code is relatively stable these days (famous last words).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210326101201.1973552-1-mpe@ellerman.id.au
arch/powerpc/kernel/security.c
arch/powerpc/kernel/setup_64.c