diff options
author | Borislav Petkov <[email protected]> | 2018-05-12 00:14:51 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-05-17 17:09:19 +0200 |
commit | cc69b34989210f067b2c51d5539b5f96ebcc3a01 (patch) | |
tree | 76b885e4b52b2901d9f0d6f3801669b203377429 /scripts/patch-kernel | |
parent | 0270be3e34efb05a88bc4c422572ece038ef3608 (diff) |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions