Author: kib
Date: Thu Jul 13 08:19:50 2017
New Revision: 320936
URL: https://svnweb.freebsd.org/changeset/base/320936

Log:
  It is believed to be only cosmetic.
  
  Noted by:     andrew
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/sys/amd64/amd64/efirt.c

Modified: head/sys/amd64/amd64/efirt.c
==============================================================================
--- head/sys/amd64/amd64/efirt.c        Thu Jul 13 08:13:29 2017        
(r320935)
+++ head/sys/amd64/amd64/efirt.c        Thu Jul 13 08:19:50 2017        
(r320936)
@@ -194,8 +194,8 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int 
        uint64_t idx;
        int bits, i, mode;
 
-       obj_1t1_pt = vm_pager_allocate(OBJT_PHYS, NULL, 1 + NPML4EPG +
-           NPML4EPG * NPDPEPG + NPML4EPG * NPDPEPG * NPDEPG,
+       obj_1t1_pt = vm_pager_allocate(OBJT_PHYS, NULL, ptoa(1 +
+           NPML4EPG + NPML4EPG * NPDPEPG + NPML4EPG * NPDPEPG * NPDEPG),
            VM_PROT_ALL, 0, NULL);
        VM_OBJECT_WLOCK(obj_1t1_pt);
        efi_pml4_page = efi_1t1_page(0);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to