]> 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)
commitfbb0e0231f9c5bbe8ffde6a92293afa99fc081c8
treeb0b3a48681fb2cda62c8d4aeae2e98280de026de
parenta7b8a922658fb3bf7b8ba171704312add9c5340a
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