diff options
| author | Borislav Petkov <[email protected]> | 2018-05-11 22:14:51 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-05-17 15:09:19 +0000 |
| commit | cc69b34989210f067b2c51d5539b5f96ebcc3a01 (patch) | |
| tree | 76b885e4b52b2901d9f0d6f3801669b203377429 /tools/perf/scripts/python | |
| parent | x86/speculation: Rework speculative_store_bypass_update() (diff) | |
| download | kernel-cc69b34989210f067b2c51d5539b5f96ebcc3a01.tar.gz kernel-cc69b34989210f067b2c51d5539b5f96ebcc3a01.zip | |
x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}
Function bodies are very similar and are going to grow more almost
identical code. Add a bool arg to determine whether SPEC_CTRL is being set
for the guest or restored to the host.
No functional changes.
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
