Skip to content

Commit 4b6049b

Browse files
Anshuman Khandualwilldeacon
authored andcommitted
arm64/mm: Drop PMD_SECT_VALID
This just drops off the macro PMD_SECT_VALID which remains unused. Because macro PMD_TYPE_SECT with same value (_AT(pmdval_t, 1) << 0), gets used for creating or updating given block mappings. Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Anshuman Khandual <[email protected]> Reviewed-by: Ryan Roberts <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 7c626ce commit 4b6049b

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
@@ -135,7 +135,6 @@
135135
/*
136136
* Section
137137
*/
138-
#define PMD_SECT_VALID (_AT(pmdval_t, 1) << 0)
139138
#define PMD_SECT_USER (_AT(pmdval_t, 1) << 6) /* AP[1] */
140139
#define PMD_SECT_RDONLY (_AT(pmdval_t, 1) << 7) /* AP[2] */
141140
#define PMD_SECT_S (_AT(pmdval_t, 3) << 8)

0 commit comments

Comments
 (0)