Skip to content

Commit 7bea3c7

Browse files
committed
efi: Fix overlooked uuid -> efi_guid_t change
This was overlook we switched to using efi_guid_t. Fixes: 6366114 Sponsored by: Netflix
1 parent 8d136fb commit 7bea3c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sys/arm64/arm64/machdep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ static void
513513
exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)
514514
{
515515
struct efi_systbl *systbl;
516-
struct uuid efi_memreserve = LINUX_EFI_MEMRESERVE_TABLE;
516+
efi_guid_t efi_memreserve = LINUX_EFI_MEMRESERVE_TABLE;
517517

518518
systbl = (struct efi_systbl *)PHYS_TO_DMAP(efi_systbl_phys);
519519
if (systbl == NULL) {
@@ -542,7 +542,7 @@ exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)
542542
cfgtbl = efi_early_map(systbl->st_cfgtbl + i * sizeof(*cfgtbl));
543543
if (cfgtbl == NULL)
544544
panic("Can't map the config table entry %d\n", i);
545-
if (memcmp(&cfgtbl->ct_uuid, &efi_memreserve, sizeof(struct uuid)) != 0)
545+
if (memcmp(&cfgtbl->ct_guid, &efi_memreserve, sizeof(efi_guid_t)) != 0)
546546
continue;
547547

548548
/*

0 commit comments

Comments
 (0)