kvm: x86: use macros to compute bank MSRs
authorChen Yucong <slaoub@gmail.com>
Tue, 23 Sep 2014 02:44:35 +0000 (10:44 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Sep 2014 12:07:56 +0000 (14:07 +0200)
Avoid open coded calculations for bank MSRs by using well-defined
macros that hide the index of higher bank MSRs.

No semantic changes.

Signed-off-by: Chen Yucong <slaoub@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

No differences found