git: 84e95f36f600 - stable/13 - arm64, riscv: remove unused declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 15:54:57 UTC
The branch stable/13 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=84e95f36f600bc1bc53f7d622094c23b04167b7f
commit 84e95f36f600bc1bc53f7d622094c23b04167b7f
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-05-24 13:53:43 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-06-06 15:54:35 +0000
arm64, riscv: remove unused declaration
It is inherited from arm, where the global exists and is used. No
functional change.
Reviewed by: markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45323
(cherry picked from commit 1d3c23676de33762fd7fc2e3d890fd14738d3ee6)
---
sys/arm64/include/vmparam.h | 1 -
sys/riscv/include/vmparam.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
index 820552c2ce19..548eea4dcd18 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -233,7 +233,6 @@
extern vm_paddr_t dmap_phys_base;
extern vm_paddr_t dmap_phys_max;
extern vm_offset_t dmap_max_addr;
-extern vm_offset_t vm_max_kernel_address;
#endif
diff --git a/sys/riscv/include/vmparam.h b/sys/riscv/include/vmparam.h
index 9a710b667c78..2198245d5b20 100644
--- a/sys/riscv/include/vmparam.h
+++ b/sys/riscv/include/vmparam.h
@@ -242,7 +242,6 @@
extern vm_paddr_t dmap_phys_base;
extern vm_paddr_t dmap_phys_max;
extern vm_offset_t dmap_max_addr;
-extern vm_offset_t vm_max_kernel_address;
extern vm_offset_t init_pt_va;
#endif