[2/6] KVM: ARM: Get rid of KVM_HPAGE defines

Submitted by Christoffer Dall on Oct. 2, 2013, 9:22 p.m.


Message ID 1380748953-7864-3-git-send-email-christoffer.dall@linaro.org
State New
Headers show

Commit Message

Christoffer Dall Oct. 2, 2013, 9:22 p.m.
The KVM_HPAGE_DEFINES are a little artificial on ARM, since the huge
page size is statically defined at compile time and there is only a
single huge page size.

Now when the main kvm code relying on these defines has been moved to
the x86 specific part of the world, we can get rid of these.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
 arch/arm/include/asm/kvm_host.h |    5 -----
 1 file changed, 5 deletions(-)

Patch hide | download patch | download mbox

diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h
index 7d22517..e45a74b 100644
--- a/arch/arm/include/asm/kvm_host.h
+++ b/arch/arm/include/asm/kvm_host.h
@@ -38,11 +38,6 @@ 
-/* We don't currently support large pages. */
-#define KVM_HPAGE_GFN_SHIFT(x)	0
-#define KVM_NR_PAGE_SIZES	1
-#define KVM_PAGES_PER_HPAGE(x)	(1UL<<31)
 #include <kvm/arm_vgic.h>
 struct kvm_vcpu;