aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/agp/agp_i810.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-09-25 16:11:35 +0000
committerMark Johnston <markj@FreeBSD.org>2019-09-25 16:11:35 +0000
commitb119329d81bfa520fc6f317cb21c007ee92390f7 (patch)
tree7126380b914500ed7bf947cf0ebb91ea928e4941 /sys/dev/agp/agp_i810.c
parenta9d0e0071c254f4df991f2b56bcc10ce6a32a7cf (diff)
downloadsrc-b119329d81bfa520fc6f317cb21c007ee92390f7.tar.gz
src-b119329d81bfa520fc6f317cb21c007ee92390f7.zip
Complete the removal of the "wire_count" field from struct vm_page.
Convert all remaining references to that field to "ref_count" and update comments accordingly. No functional change intended. Reviewed by: alc, kib Sponsored by: Intel, Netflix Differential Revision: https://reviews.freebsd.org/D21768
Notes
Notes: svn path=/head/; revision=352688
Diffstat (limited to 'sys/dev/agp/agp_i810.c')
-rw-r--r--sys/dev/agp/agp_i810.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/agp/agp_i810.c b/sys/dev/agp/agp_i810.c
index 501f78ca0a32..d38244e71e0a 100644
--- a/sys/dev/agp/agp_i810.c
+++ b/sys/dev/agp/agp_i810.c
@@ -1954,7 +1954,7 @@ agp_intel_gtt_insert_pages(device_t dev, u_int first_entry, u_int num_entries,
sc = device_get_softc(dev);
for (i = 0; i < num_entries; i++) {
MPASS(pages[i]->valid == VM_PAGE_BITS_ALL);
- MPASS(pages[i]->wire_count > 0);
+ MPASS(pages[i]->ref_count > 0);
sc->match->driver->install_gtt_pte(dev, first_entry + i,
VM_PAGE_TO_PHYS(pages[i]), flags);
}