Enable handling of 1GB pages in the direct map since HEAD supports those.

Submitted by:	neel
This commit is contained in:
jhb 2011-05-15 02:09:12 +00:00
parent f115a4513c
commit 6d6dbef9d4

View File

@ -168,8 +168,7 @@ vmm_mem_direct_map(vm_paddr_t start, vm_paddr_t end)
if (end >= NBPML4)
panic("Cannot map memory beyond %ldGB", NBPML4 / GB);
/* XXX FreeBSD 8.1 does not use 1G superpages in the direct map */
if (0 && vmm_supports_1G_pages())
if (vmm_supports_1G_pages())
superpage_size = NBPDP;
else
superpage_size = NBPDR;