Skip to content

Commit f4be140

Browse files
Zenghui Yuwilldeacon
authored andcommitted
KVM: arm64: Drop PTE_S2_MEMATTR_MASK
The only user of PTE_S2_MEMATTR_MASK macro had been removed since commit a501e32 ("arm64: Clean up the default pgprot setting"). It has been about six years and no one has used it again. Let's drop it. Signed-off-by: Zenghui Yu <[email protected]> Acked-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 9d2d75e commit f4be140

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/include/asm/pgtable-hwdef.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@
190190
* Memory Attribute override for Stage-2 (MemAttr[3:0])
191191
*/
192192
#define PTE_S2_MEMATTR(t) (_AT(pteval_t, (t)) << 2)
193-
#define PTE_S2_MEMATTR_MASK (_AT(pteval_t, 0xf) << 2)
194193

195194
/*
196195
* EL2/HYP PTE/PMD definitions

0 commit comments

Comments
 (0)