git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c87e2
)
KVM: Remove unnecessary divide operations
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 1 Jul 2010 14:00:11 +0000
(16:00 +0200)
committer
Avi Kivity
<avi@redhat.com>
Sun, 1 Aug 2010 07:47:30 +0000
(10:47 +0300)
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>
No differences found