git: f67064e592ce - main - amd64 pmap: Remove wrong __unused annotation from the va argument.
Konstantin Belousov
kib at FreeBSD.org
Mon Jan 11 20:58:24 UTC 2021
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=f67064e592ce0017c72ed785db64d71a459db996
commit f67064e592ce0017c72ed785db64d71a459db996
Author: Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-01-09 20:21:34 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-01-11 20:57:58 +0000
amd64 pmap: Remove wrong __unused annotation from the va argument.
Noted by: alc
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27956
---
sys/amd64/amd64/pmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f4bfceb6aaaa..913a37c763a8 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -4399,7 +4399,7 @@ pmap_allocpte_getpdp(pmap_t pmap, struct rwlock **lockp, vm_offset_t va,
*/
static vm_page_t
_pmap_allocpte(pmap_t pmap, vm_pindex_t ptepindex, struct rwlock **lockp,
- vm_offset_t va __unused)
+ vm_offset_t va)
{
vm_pindex_t pml5index, pml4index;
pml5_entry_t *pml5, *pml5u;
More information about the dev-commits-src-main
mailing list