diff options
author | Michael Kelley <mikelley@microsoft.com> | 2018-06-05 13:37:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 13:02:28 +0200 |
commit | 619a4c8b2b5a0b64842b0362a152a63072615a54 (patch) | |
tree | e34257dd12a9dcdb2c51e553812939b8d59b4473 /lib/sbitmap.c | |
parent | 50229128727f7e11840ca1b2b501f880818d56b6 (diff) |
Drivers: hv: vmbus: Remove x86 MSR refs in arch independent code
In architecture independent code for manipulating Hyper-V synthetic timers
and synthetic interrupts, pass in an ordinal number identifying the timer
or interrupt, rather than an actual MSR register address. Then in
x86/x64 specific code, map the ordinal number to the appropriate MSR.
This change facilitates the introduction of an ARM64 version of Hyper-V,
which uses the same synthetic timers and interrupts, but a different
mechanism for accessing them.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions