summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2019-11-04 14:22:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-12 21:28:29 +0300
commitd068ec1dca619fdaf37351424dbba21429644f64 (patch)
tree540b852b473035698a2fd5f1f29cb560bbe017cd /lib/mpi/mpiutil.c
parent034967e8bd7d7f9dfd9c1348463906f0372fc999 (diff)
downloadlinux-d068ec1dca619fdaf37351424dbba21429644f64.tar.xz
cpu/speculation: Uninline and export CPU mitigations helpers
commit 731dc9df975a5da21237a18c3384f811a7a41cc6 upstream. A kernel module may need to check the value of the "mitigations=" kernel command line parameter as part of its setup when the module needs to perform software mitigations for a CPU flaw. Uninline and export the helper functions surrounding the cpu_mitigations enum to allow for their usage from a module. Lastly, privatize the enum and cpu_mitigations variable since the value of cpu_mitigations can be checked with the exported helper functions. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions