Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm use TRUE and FALSE instead of 1 and 0 for boolean_t.
details: https://anonhg.NetBSD.org/src/rev/a29c7d24f8cb
branches: trunk
changeset: 574446:a29c7d24f8cb
user: chs <chs%NetBSD.org@localhost>
date: Mon Feb 28 15:33:04 2005 +0000
description:
use TRUE and FALSE instead of 1 and 0 for boolean_t.
diffstat:
sys/uvm/uvm_fault.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 0ad8b91beef5 -r a29c7d24f8cb sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Mon Feb 28 15:31:04 2005 +0000
+++ b/sys/uvm/uvm_fault.c Mon Feb 28 15:33:04 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.90 2005/02/07 11:57:38 yamt Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.91 2005/02/28 15:33:04 chs Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.90 2005/02/07 11:57:38 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.91 2005/02/28 15:33:04 chs Exp $");
#include "opt_uvmhist.h"
@@ -1210,7 +1210,7 @@
uvm_unlock_pageq();
UVM_PAGE_OWN(pg, NULL);
amap_add(&ufi.entry->aref, ufi.orig_rvaddr - ufi.entry->start,
- anon, 1);
+ anon, TRUE);
/* deref: can not drop to zero here by defn! */
oanon->an_ref--;
@@ -1623,7 +1623,7 @@
anon, pg, 0, 0);
}
amap_add(&ufi.entry->aref, ufi.orig_rvaddr - ufi.entry->start,
- anon, 0);
+ anon, FALSE);
}
/*
Home |
Main Index |
Thread Index |
Old Index