diff options
author | Borislav Petkov <bp@suse.de> | 2018-05-12 01:14:51 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-17 18:09:19 +0300 |
commit | cc69b34989210f067b2c51d5539b5f96ebcc3a01 (patch) | |
tree | 76b885e4b52b2901d9f0d6f3801669b203377429 /arch/x86/include/uapi/asm/sigcontext.h | |
parent | 0270be3e34efb05a88bc4c422572ece038ef3608 (diff) | |
download | linux-cc69b34989210f067b2c51d5539b5f96ebcc3a01.tar.xz |
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 <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/sigcontext.h')
0 files changed, 0 insertions, 0 deletions