diff options
author | alc <alc@FreeBSD.org> | 2009-07-13 18:11:59 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2009-07-13 18:11:59 +0000 |
commit | 0db73cd7572501a23e804bba303a5cb7afd3250f (patch) | |
tree | 507d60f2f89c501320f5a280668b27ec05e45ef7 /sys/sun4v | |
parent | 03cf96dd3ab9f736da8fb280de7a2cb9e7ac3f93 (diff) | |
download | FreeBSD-src-0db73cd7572501a23e804bba303a5cb7afd3250f.zip FreeBSD-src-0db73cd7572501a23e804bba303a5cb7afd3250f.tar.gz |
Correct an error of omission in r195649 ("Add support to the virtual memory
system for configuring machine-dependent memory attributes: ..."). In
r195649, the "vm_cache_mode_t/vm_memattr_t" parameter was removed from
vm_phys_alloc_contig().
Approved by: re (kensmith)
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/sun4v/pmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sun4v/sun4v/pmap.c b/sys/sun4v/sun4v/pmap.c index 984c3a0..a754ce9 100644 --- a/sys/sun4v/sun4v/pmap.c +++ b/sys/sun4v/sun4v/pmap.c @@ -1297,8 +1297,7 @@ pmap_alloc_zeroed_contig_pages(int npages, uint64_t alignment) while (m == NULL) { for (i = 0; phys_avail[i + 1] != 0; i += 2) { m = vm_phys_alloc_contig(npages, phys_avail[i], - phys_avail[i + 1], alignment, (1UL<<34), - VM_CACHE_DEFAULT); + phys_avail[i + 1], alignment, (1UL<<34)); if (m) goto found; } |