KVM: SVM: Move msrpm offset calculation to seperate function
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 1 Mar 2010 14:34:35 +0000 (15:34 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:08 +0000 (12:15 +0300)
The algorithm to find the offset in the msrpm for a given
msr is needed at other places too. Move that logic to its
own function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found