Skip to content
Commit bdd31461 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86: msr-on-cpu: remove unnecessary level of abstraction



Remove an unnecessary level of abstraction in the msr-on-cpu library.
Although this duplicates some code, the duplicated code is less than
the additional code, and this way should be faster.

Additionally, change the order of the functions to make the regular
structure of this file more obvious.

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 94d4ac2f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment