Skip to content

Commit 2b3f344

Browse files
committed
parisc: Fix wrong comment regarding first pmd entry flags
The first pmd entry is marked with PxD_FLAG_ATTACHED instead of _PAGE_GATEWAY. Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 6a13feb commit 2b3f344

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/parisc/include/asm/pgalloc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm)
3535
PxD_FLAG_VALID |
3636
PxD_FLAG_ATTACHED)
3737
+ (__u32)(__pa((unsigned long)pgd) >> PxD_VALUE_SHIFT));
38-
/* The first pmd entry also is marked with _PAGE_GATEWAY as
38+
/* The first pmd entry also is marked with PxD_FLAG_ATTACHED as
3939
* a signal that this pmd may not be freed */
4040
__pgd_val_set(*pgd, PxD_FLAG_ATTACHED);
4141
#endif

0 commit comments

Comments
 (0)