diff options
author | Borislav Petkov <bp@suse.de> | 2018-05-12 00:14:51 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-17 17:09:19 +0200 |
commit | cc69b34989210f067b2c51d5539b5f96ebcc3a01 (patch) | |
tree | 76b885e4b52b2901d9f0d6f3801669b203377429 /net/ipv6/tcp_ipv6.c | |
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 <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions