projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5116d8f
)
KVM: Make KVM_HPAGES_PER_HPAGE unsigned long to avoid build error on powerpc
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 17 Jun 2009 05:04:19 +0000
(15:04 +1000)
committer
Avi Kivity
<avi@redhat.com>
Wed, 5 Aug 2009 11:51:33 +0000
(14:51 +0300)
Eliminates this compiler warning:
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:1178: error: integer overflow in expression
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/include/asm/kvm_host.h
b/arch/powerpc/include/asm/kvm_host.h
index dfdf13c9fefd9d4f64b0d1f0eebb70b7050fc598..fddc3ed715fa7abf1c55cbfccbc2bef7193e0348 100644
(file)
--- a/
arch/powerpc/include/asm/kvm_host.h
+++ b/
arch/powerpc/include/asm/kvm_host.h
@@
-34,7
+34,7
@@
#define KVM_COALESCED_MMIO_PAGE_OFFSET 1
/* We don't currently support large pages. */
-#define KVM_PAGES_PER_HPAGE (1
<<
31)
+#define KVM_PAGES_PER_HPAGE (1
UL <<
31)
struct kvm;
struct kvm_run;