aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kvm_mmu.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-06-30 13:40:49 -0400
committerChristoffer Dall <christoffer.dall@linaro.org>2016-07-03 17:41:27 -0400
commitf7bec68d2faed8180d7172cdbd69d99e3cad1387 (patch)
treeedcd8da162b6cac907c3270a29b7eb7b08698fe1 /arch/arm/include/asm/kvm_mmu.h
parente537ecd7efacaa7512e87ecb07c0c0335a902558 (diff)
arm/arm64: KVM: Prune unused #defines
We can now remove a number of dead #defines, thanks to the trampoline code being gone. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/kvm_mmu.h')
-rw-r--r--arch/arm/include/asm/kvm_mmu.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/include/asm/kvm_mmu.h b/arch/arm/include/asm/kvm_mmu.h
index d5fd9fb8550b..73c28180bb63 100644
--- a/arch/arm/include/asm/kvm_mmu.h
+++ b/arch/arm/include/asm/kvm_mmu.h
@@ -26,18 +26,9 @@
26 * We directly use the kernel VA for the HYP, as we can directly share 26 * We directly use the kernel VA for the HYP, as we can directly share
27 * the mapping (HTTBR "covers" TTBR1). 27 * the mapping (HTTBR "covers" TTBR1).
28 */ 28 */
29#define HYP_PAGE_OFFSET_MASK UL(~0)
30#define HYP_PAGE_OFFSET PAGE_OFFSET
31#define KERN_TO_HYP(kva) (kva) 29#define KERN_TO_HYP(kva) (kva)
32 30
33/* 31/*
34 * Our virtual mapping for the boot-time MMU-enable code. Must be
35 * shared across all the page-tables. Conveniently, we use the vectors
36 * page, where no kernel data will ever be shared with HYP.
37 */
38#define TRAMPOLINE_VA UL(CONFIG_VECTORS_BASE)
39
40/*
41 * KVM_MMU_CACHE_MIN_PAGES is the number of stage2 page table translation levels. 32 * KVM_MMU_CACHE_MIN_PAGES is the number of stage2 page table translation levels.
42 */ 33 */
43#define KVM_MMU_CACHE_MIN_PAGES 2 34#define KVM_MMU_CACHE_MIN_PAGES 2