diff options
author | Thomas Gleixner <[email protected]> | 2018-05-12 20:49:16 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-05-17 17:09:19 +0200 |
commit | fa8ac4988249c38476f6ad678a4848a736373403 (patch) | |
tree | a885d2aba4f5b6b3532910f4228b90231c212485 /scripts/patch-kernel | |
parent | cc69b34989210f067b2c51d5539b5f96ebcc3a01 (diff) |
x86/bugs: Expose x86_spec_ctrl_base directly
x86_spec_ctrl_base is the system wide default value for the SPEC_CTRL MSR.
x86_spec_ctrl_get_default() returns x86_spec_ctrl_base and was intended to
prevent modification to that variable. Though the variable is read only
after init and globaly visible already.
Remove the function and export the variable instead.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions