[MODERATED] Re: [PATCH v2] NX build fixup
Josh Poimboeuf <[email protected]> Fri, 1 Nov 2019 16:14:11 -0500
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <20191101211411.4tsxl7oiye7igo7e@treble> |
On Fri, Nov 01, 2019 at 08:39:09PM +0000, speck for Tyler Hicks wrote: > From: Tyler Hicks <[email protected]> > Subject: [PATCH] cpu/speculation: Uninline and export CPU mitigations helpers > > 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 <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> -- Josh