summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/include/asm/pgtable-2level-hwdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/include/asm/pgtable-2level-hwdef.h')
-rw-r--r--kernel/arch/arm/include/asm/pgtable-2level-hwdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/arm/include/asm/pgtable-2level-hwdef.h b/kernel/arch/arm/include/asm/pgtable-2level-hwdef.h
index 5e68278e9..d0131ee6f 100644
--- a/kernel/arch/arm/include/asm/pgtable-2level-hwdef.h
+++ b/kernel/arch/arm/include/asm/pgtable-2level-hwdef.h
@@ -23,6 +23,7 @@
#define PMD_PXNTABLE (_AT(pmdval_t, 1) << 2) /* v7 */
#define PMD_BIT4 (_AT(pmdval_t, 1) << 4)
#define PMD_DOMAIN(x) (_AT(pmdval_t, (x)) << 5)
+#define PMD_DOMAIN_MASK PMD_DOMAIN(0x0f)
#define PMD_PROTECTION (_AT(pmdval_t, 1) << 9) /* v5 */
/*
* - section