summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_pdaemon.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-07-13 22:51:24 +0000
committerderaadt <deraadt@openbsd.org>2006-07-13 22:51:24 +0000
commitfd9b881ab0b4634eb50073b79bfe69dbb92c620c (patch)
tree8c41802140a282cb8bf10802010c8fab403657d6 /sys/uvm/uvm_pdaemon.c
parentSwitch to a three-phase pci resource fixup: (diff)
downloadwireguard-openbsd-fd9b881ab0b4634eb50073b79bfe69dbb92c620c.tar.xz
wireguard-openbsd-fd9b881ab0b4634eb50073b79bfe69dbb92c620c.zip
Back out the anon change. Apparently it was tested by a few, but most of
us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices.
Diffstat (limited to 'sys/uvm/uvm_pdaemon.c')
-rw-r--r--sys/uvm/uvm_pdaemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c
index 3eeb36796a9..1f6b60edd13 100644
--- a/sys/uvm/uvm_pdaemon.c
+++ b/sys/uvm/uvm_pdaemon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pdaemon.c,v 1.28 2006/06/21 16:20:05 mickey Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.29 2006/07/13 22:51:26 deraadt Exp $ */
/* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */
/*
@@ -544,7 +544,7 @@ uvmpd_scan_inactive(pglst)
KASSERT(anon->an_swslot != 0);
/* remove from object */
- anon->an_page = NULL;
+ anon->u.an_page = NULL;
simple_unlock(&anon->an_lock);
} else {
/* pagefree has already removed the
@@ -857,7 +857,7 @@ uvmpd_scan_inactive(pglst)
if (p->flags & PG_RELEASED) {
if (anon) {
/* remove page so we can get nextpg */
- anon->an_page = NULL;
+ anon->u.an_page = NULL;
simple_unlock(&anon->an_lock);
uvm_anfree(anon); /* kills anon */