git: cb0fb2812914 - main - exclude_efi_memreserve(): use the right type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Mar 2025 16:12:25 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb0fb2812914aac78ec77e5704176ef45440f139
commit cb0fb2812914aac78ec77e5704176ef45440f139
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-11-26 15:55:29 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-03-03 16:12:15 +0000
exclude_efi_memreserve(): use the right type
efi_systbl_phys is a physical address. Thus, prefer vm_paddr_t to
vm_offset_t.
No functional change.
Sponsored by: The FreeBSD Foundation
---
sys/arm64/arm64/machdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
index a94cdaa61775..93343a1972af 100644
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -508,7 +508,7 @@ efi_early_map(vm_offset_t va)
* anything since msgbufp isn't initialized, let alone a console...
*/
static void
-exclude_efi_memreserve(vm_offset_t efi_systbl_phys)
+exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)
{
struct efi_systbl *systbl;
struct uuid efi_memreserve = LINUX_EFI_MEMRESERVE_TABLE;