summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b02a82b)
raw | patch | inline | side by side (parent: b02a82b)
author | Alex Shi <alex.shi@linaro.org> | |
Thu, 28 Aug 2014 07:23:00 +0000 (15:23 +0800) | ||
committer | Alex Shi <alex.shi@linaro.org> | |
Thu, 28 Aug 2014 07:37:28 +0000 (15:37 +0800) |
This reverts commit 3d20c4a5ebffee4924c20972aea3e68e22ec8ec9 to resolve
the following build error:
In file included from arch/arm64/kvm/handle_exit.c:26:0:
arch/arm64/include/asm/kvm_mmu.h: In function ‘kvm_set_s2pmd_writable’:
arch/arm64/include/asm/kvm_mmu.h:122:19: error: ‘PMD_S2_RDWR’ undeclared (first use in this function)
pmd_val(*pmd) |= PMD_S2_RDWR;
^
Signed-off-by: Alex Shi <alex.shi@linaro.org>
the following build error:
In file included from arch/arm64/kvm/handle_exit.c:26:0:
arch/arm64/include/asm/kvm_mmu.h: In function ‘kvm_set_s2pmd_writable’:
arch/arm64/include/asm/kvm_mmu.h:122:19: error: ‘PMD_S2_RDWR’ undeclared (first use in this function)
pmd_val(*pmd) |= PMD_S2_RDWR;
^
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/include/asm/pgtable-hwdef.h | patch | blob | history |
index 2e9d83673ef623afe4a08d58805f05b5f47f2641..b1d2e26c3c883e7259f0ab679efe33ffe2935429 100644 (file)
#define PTE_S2_RDONLY (_AT(pteval_t, 1) << 6) /* HAP[2:1] */
#define PTE_S2_RDWR (_AT(pteval_t, 3) << 6) /* HAP[2:1] */
+#define PMD_S2_RDWR (_AT(pmdval_t, 3) << 6) /* HAP[2:1] */
+
/*
* Memory Attribute override for Stage-2 (MemAttr[3:0])
*/