diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-07-13 22:51:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-07-13 22:51:27 +0000 |
commit | 6a76bccf8a0c4378de36313c8973c7ca1fc0f545 (patch) | |
tree | 430dacf96000212238bd82a6f64553a6c6917bee /sys/uvm/uvm_pdaemon.c | |
parent | bd9cebb8b30f438d9adee25b85f18aaa3550285b (diff) |
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.c | 6 |
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 */ |