git: 19c288b3a664 - main - arm64: eliminate a duplicated #define

Alan Cox alc at FreeBSD.org
Sun Jun 27 06:46:31 UTC 2021


The branch main has been updated by alc:

URL: https://cgit.FreeBSD.org/src/commit/?id=19c288b3a6640742ab45200031661fe5be710d7f

commit 19c288b3a6640742ab45200031661fe5be710d7f
Author:     Alan Cox <alc at FreeBSD.org>
AuthorDate: 2021-06-27 06:40:23 +0000
Commit:     Alan Cox <alc at FreeBSD.org>
CommitDate: 2021-06-27 06:44:58 +0000

    arm64: eliminate a duplicated #define
---
 sys/arm64/include/pte.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h
index 16a72be65fd0..5d4412d2c141 100644
--- a/sys/arm64/include/pte.h
+++ b/sys/arm64/include/pte.h
@@ -131,7 +131,6 @@ typedef	uint64_t	pt_entry_t;		/* page table entry */
 #define	L3_SHIFT	12
 #define	L3_SIZE 	(1 << L3_SHIFT)
 #define	L3_OFFSET 	(L3_SIZE - 1)
-#define	L3_SHIFT	12
 #define	L3_INVAL	0x0
 	/* 0x1 is reserved */
 	/* 0x2 also marks an invalid address */


More information about the dev-commits-src-all mailing list