diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-07-01 16:00:11 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 09:47:30 +0200 |
commit | 828554136bbacae6e39fc31b9cd7e7c660ad7530 (patch) | |
tree | 4e2ec85ff33c9c1e7245e83ed8e4fa3791007ef7 /virt/kvm/iommu.c | |
parent | KVM: Fix IOMMU memslot reference warning (diff) | |
download | linux-828554136bbacae6e39fc31b9cd7e7c660ad7530.tar.xz linux-828554136bbacae6e39fc31b9cd7e7c660ad7530.zip |
KVM: Remove unnecessary divide operations
This patch converts unnecessary divide and modulo operations
in the KVM large page related code into logical operations.
This allows to convert gfn_t to u64 while not breaking 32
bit builds.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/iommu.c')
0 files changed, 0 insertions, 0 deletions