Patchwork [4/6] KVM: mips: Get rid of KVM_HPAGE defines

login
register
mail settings
Submitter Christoffer Dall
Date Oct. 2, 2013, 9:22 p.m.
Message ID <1380748953-7864-5-git-send-email-christoffer.dall@linaro.org>
Download mbox | patch
Permalink /patch/280180/
State New
Headers show

Comments

Christoffer Dall - Oct. 2, 2013, 9:22 p.m.
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/mips/include/asm/kvm_host.h |    7 -------
 1 file changed, 7 deletions(-)

Patch

diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h
index 4d6fa0b..3296696 100644
--- a/arch/mips/include/asm/kvm_host.h
+++ b/arch/mips/include/asm/kvm_host.h
@@ -27,13 +27,6 @@ 
 
 #define KVM_COALESCED_MMIO_PAGE_OFFSET 1
 
-/* Don't support huge pages */
-#define KVM_HPAGE_GFN_SHIFT(x)	0
-
-/* We don't currently support large pages. */
-#define KVM_NR_PAGE_SIZES	1
-#define KVM_PAGES_PER_HPAGE(x)	1
-
 
 
 /* Special address that contains the comm page, used for reducing # of traps */