]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MTRR: introduce fixed_mtrr_segment table
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 15 Jun 2015 08:55:29 +0000 (16:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 15:16:28 +0000 (17:16 +0200)
commit288d1766020a9fb47c772c2bc17090faffdcb9d5
tree01eb14c29a392b52f0cb141f445c19569924f5c7
parent98aa20c5aef8d2fd4e85ea6bc1cd35cb5dc5a686
KVM: MTRR: introduce fixed_mtrr_segment table

This table summarizes the information of fixed MTRRs and introduce some APIs
to abstract its operation which helps us to clean up the code and will be
used in later patches

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
[Change range_size to range_shift, in order to avoid udivdi3 errors.
 - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mtrr.c