b/arch/arm/include/asm/pgtable-3level-hwdef.h
@@ -33,7 +33,7 @@
#define PMD_BIT4 (_AT(pmdval_t, 0))
#define PMD_DOMAIN(x) (_AT(pmdval_t, 0))
#define PMD_APTABLE_SHIFT (61)
-#define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT)
+#define PMD_APTABLE_MASK (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT)
#define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
/*
@@ -871,7 +871,7 @@ static int init_hyp_mode(void)
int err = 0;
/*
- * Allocate Hyp PGD and setup Hyp identity mapping
+ * Make sure the Hyp identity map is ready for us.
*/
err = kvm_mmu_init();
if (err)